Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,247
» Latest member: Kacper
» Forum threads: 38,779
» Forum posts: 175,813

Full Statistics

Online Users
There are currently 54 online users.
» 0 Member(s) | 45 Guest(s)
Google, Bing, AOL, Facebook Dev, Apple

Latest Threads
New to python and coding
Forum: Homework
Last Post: Larz60+
9 hours ago
» Replies: 1
» Views: 53
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
10 hours ago
» Replies: 11
» Views: 260
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
10 hours ago
» Replies: 3
» Views: 101
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Today, 05:07 AM
» Replies: 5
» Views: 231
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:37 AM
» Replies: 1
» Views: 92
Data Science
Forum: Data Science
Last Post: mamta25
Yesterday, 05:27 AM
» Replies: 3
» Views: 2,601
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 187
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 172
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,873
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,408

 
  Code 60 error
Posted by: Led_Zeppelin - Oct-19-2021, 04:37 PM - Forum: General Coding Help - Replies (3)

[code]
# check pycaret vrsion
import pycaret
print('PyCaret: %s' % pycaret.__version__)
from sklearn.ensemble import ExtraTreesClassifier
import ..... More

Print this item

  Cannot correct this
Posted by: Led_Zeppelin - Oct-19-2021, 04:18 PM - Forum: General Coding Help - Replies (1)

[code]
from fastai import *
from fastai.text import *

from fastai.vision import *

import pandas as pd

import numpy as np

df = pd.read_c..... More

Print this item

  need to skip password prompt, continue...
Posted by: tester_V - Oct-19-2021, 04:13 PM - Forum: General Coding Help - Replies (2)

Good morning!
I'm scanning a list of hosts to see a host has a specific directory and if not "continue' to the next host.
I thought I would use try/..... More

Print this item

  Sending random images via smtplib [SOLVED]
Posted by: AlphaInc - Oct-19-2021, 10:10 AM - Forum: General Coding Help - No Replies

Hello everybody,

I have a python-Script which sends E-Mails to my main account which I use as a notification method for birthdays.
Now I want to e..... More

Print this item

  define entry via class on a loop
Posted by: drSlump - Oct-19-2021, 07:45 AM - Forum: GUI - Replies (9)

I have defined an entry via the following class:

[python]class Entry(object):

def __init__(self):#, foo1, foo2, nac, root, row): #*args, **k..... More


Attached Files

Thumbnail(s)
   
Print this item

  use subprocess on linux\pi wwith a "grep " command
Posted by: korenron - Oct-19-2021, 06:54 AM - Forum: General Coding Help - Replies (2)

Hello,
(maybe someone have a simpler solution )
I need to know the status of my modem "UNKNOWN\UP\DOWN"
so I'm running this command:
[python]
i..... More

Print this item

  Printing During a Loop
Posted by: apeltes - Oct-19-2021, 04:02 AM - Forum: Homework - Replies (16)

Hello! I am doing a project for a beginning coding course.
It's a simple guessing game. The user guesses a secret number.
The code has a while loop...... More


Attached Files

.py   code.py (Size: 790 bytes / Downloads: 391)
Print this item

Brick Have I implemented this function correctly?
Posted by: naggafin - Oct-18-2021, 11:33 PM - Forum: General Coding Help - Replies (4)

Hi guys! I'm writing a function for an algorithmic trading bot. The function is derived from a white paper from Pauna Cristian which I've [url=https:/..... More

Print this item

  Calculate the Euler Number with more decimal places
Posted by: Pedroski55 - Oct-18-2021, 11:09 PM - Forum: General Coding Help - Replies (10)

I was reading about the Euler Number, e.

I read it has been calculated to a trillion decimal places.

I would be happy with 100 decimal places...... More

Print this item

  Reducing runtime memory usage in Cpython interpreter
Posted by: david_the_graower - Oct-18-2021, 09:42 PM - Forum: General Coding Help - Replies (2)

I'm running python on an embedded Linux system with a limited amount of main memory.

Is there any techniques that I can use to reduce system memory..... More

Print this item

  Kaggle Titanic - new category placement
Posted by: snakes - Oct-18-2021, 07:43 PM - Forum: Data Science - No Replies

I'm pretty new to Python and even newer to machine learning so apologies if the answer to my question is obvious.

I've performed the common step of..... More

Print this item

  The Best way to fit a bag with a size
Posted by: serjaomendes - Oct-18-2021, 07:35 PM - Forum: Homework - Replies (1)

I need to find the best way to make an exact 1000g pot by choosing 120g to 350g pieces from an array. If I don't find 1000, I can go up to 1015.

..... More

Print this item

  [split] Is there a way to embed a treeview as a row inside another treeview?
Posted by: CyKlop - Oct-18-2021, 05:31 PM - Forum: GUI - Replies (5)

Now comes the next question, this time regarding tkinter.ttk.Treeview

Is there a way to embed a treeview as a row inside another treeview? The rea..... More

Print this item

  Process doesn't work but Thread work !
Posted by: mr_byte31 - Oct-18-2021, 05:25 PM - Forum: General Coding Help - Replies (4)

I am just learning to work with multi threads/process.

I wrote this code and it works well:
[python]import time
import concurrent.futures

numT..... More

Print this item

  Transfer function from experimental data
Posted by: thunderspeed - Oct-18-2021, 05:11 PM - Forum: Data Science - No Replies

Hello everyone,
Please I need some advice on this since I've been reading on that for a while but not sure I'm in the correct direction.

I need to..... More

Print this item

  Full Body Tracking and Recognition with OpenCV
Posted by: principemestizo - Oct-18-2021, 04:47 PM - Forum: General Coding Help - No Replies

Hi there. I am new to Python and OpenCV, so I apologize if my problem is a bit obvious to you.

I google a way to recognize people without using fac..... More

Print this item

  while loops
Posted by: Paulman - Oct-18-2021, 04:13 PM - Forum: Homework - Replies (11)

Hello,

Is there anybody who can help with a problem with the while loops?
__________________________________________________________________
I'm ..... More

Print this item

  Filtering warnings by message
Posted by: 22_alias - Oct-18-2021, 11:19 AM - Forum: General Coding Help - Replies (3)

I'm struggling to understand how to use the message argument in warnings.filterwarnings. I am specifically trying to silent a deprecation warning fr..... More

Print this item

Photo Output Static image on HDMI2
Posted by: random816382 - Oct-18-2021, 11:14 AM - Forum: General Coding Help - No Replies

Hey there,

I have a science project that I am working on and there is an important part of it that I am struggling with. I will have to output a sta..... More

Print this item

  button enabled only when all the inputs are filled
Posted by: cybertooth - Oct-18-2021, 08:26 AM - Forum: GUI - Replies (5)

Hi all. I am making a Tkinter form for registration. I want the register button to be disabled until all fields are filled. secondly I am having an i..... More

Print this item

  Not able to add multiple channel IDs to python bot
Posted by: flaykez - Oct-17-2021, 10:36 PM - Forum: General Coding Help - Replies (3)

I have my bot setup so that it can ping a user in a specific channel when they join the server then immediately delete it, and it works:

command_pr..... More


Attached Files

Thumbnail(s)
   
Print this item

  NameError: name “x” is not defined ... even though x is defined
Posted by: campjaybellson - Oct-17-2021, 06:43 PM - Forum: General Coding Help - Replies (7)

I keep getting this name error message when I just want to print the value of x.
The picture clearly shows that I am defining x [x = 5].
I have unin..... More

Print this item

  Problem in list manipulation
Posted by: CyKlop - Oct-17-2021, 04:39 PM - Forum: General Coding Help - Replies (6)

Error in list processing??

Class Diagram:

[python]Bindable (my class) list (built in)
\ /
..... More

Print this item

  About linked lists
Posted by: ManoEl - Oct-17-2021, 02:22 PM - Forum: General Coding Help - Replies (2)

I'm learning Python and would like help to know how I can remove a node from a linked list from a value, currently my code looks like this:

[python..... More

Print this item

  Help me with Image detection
Posted by: GoA_TrancE - Oct-17-2021, 12:09 PM - Forum: General Coding Help - Replies (1)

Hello devs,
Since couple of days im looking for a solution to locate an image on the entire screen and click on it faster. Tried with pyautogui but i..... More

Print this item

  Help Python vs Jupyter
Posted by: futureofAI - Oct-17-2021, 09:26 AM - Forum: General Coding Help - Replies (2)

Hi to everyone,

In a first step I want to admit that I´m a very very beginner so please dont judge me on this question - I sure it is very simple ..... More

Print this item

  When using print what does end="" do ?
Posted by: yngxng - Oct-17-2021, 04:23 AM - Forum: Homework - Replies (3)

Hi everyone, i just started learning python so this might sound like a very stupid question.

So i'm doing this exercise about nested loop and i ca..... More

Print this item

  plot(n, f(n))
Posted by: melvin13 - Oct-16-2021, 08:10 PM - Forum: General Coding Help - Replies (2)

Hello,
I'm having a hard time understanding something:
[python]
from pylab import *
import numpy as np
import numpy.fft as npft
import scipy.io.wavfi..... More

Print this item

  API REST Package for Calling/Flask
Posted by: muzikman - Oct-16-2021, 06:39 PM - Forum: General Coding Help - Replies (12)

Greetings,

Is there an API package for calling REST api's? I looked into FastAPI but that is for creating APIs.

Can this be done with Flask?

..... More

Print this item

  Python 3.9 and WINDOWS 10
Posted by: deep_logic - Oct-16-2021, 05:38 PM - Forum: General Coding Help - Replies (2)

Hi all,
I am trying to troubleshoot/modify my python interpreter. I have downloaded 3.9, but my environment variable still points to the original 3.8..... More

Print this item

  Best way to pass data to the few game states with the same superclass?
Posted by: Milosz - Oct-16-2021, 11:06 AM - Forum: Game Development - Replies (7)

Hello, I wonder what is the best way to pass data to the few game states with the same superclass? I'm gonna use state machine with control class. Sta..... More

Print this item

  Better visualisation for wide range data
Posted by: oraib - Oct-16-2021, 10:07 AM - Forum: Data Science - No Replies

I am trying to visulaize my data and show some trend.. the problem is the data range is wide ..

The file link: [https://drive.google.com/file/d/14..... More

Print this item

  Hiring: Expert python Bot developer
Posted by: otsaki - Oct-16-2021, 09:45 AM - Forum: Jobs - Replies (3)

Hello,

We are looking for high experienced in bot software, proxies, that worked with bypass cloudflare, datadome, capmonster etc.

We have two tasks..... More

Print this item

  Son's homework
Posted by: Sinky100 - Oct-16-2021, 09:41 AM - Forum: Homework - Replies (1)

Hi,

My son is is having issues with the below homework.

For a temporary wifi system at an event:
- Enter number of Access Points (AP):
- Enter..... More

Print this item

  time function does not work
Posted by: tester_V - Oct-16-2021, 02:20 AM - Forum: General Coding Help - Replies (4)

Greetings!

I'm trying to use 'functions in my code.
I want to add a timestamp for each different operation my code executes.
I made a function a..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding 9 hours ago lary_p Larz60+ Homework
  [Tkinter] I’m building a ... 10 hours ago tsgiannis tsgiannis GUI
  Help with Serial.write in... 10 hours ago racingsubby Larz60+ General Codin...
  Backward compatibility qu... Today, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... Yesterday, 05:37 Reema Gribouillis General Codin...
  Data Science Yesterday, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
Most views
  The best Prog... 578799
  Tutorial Requ... 509739
  Web Scraping ... 441906
  Newbie with P... 385896
  New Users Int... 375873
Most reputation
buran 581
snippsat 510
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12105
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Kacper Today
isla123456 Today
vibrometro Today
thebigback Yesterday
dimitriwati Yesterday

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020