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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,946
» Latest member: randydurham
» Forum threads: 38,726
» Forum posts: 175,523

Full Statistics

Online Users
There are currently 78 online users.
» 1 Member(s) | 71 Guest(s)
Google, Bing, Applebot, AOL, AOL, randydurham

Latest Threads
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
1 hour ago
» Replies: 5
» Views: 9,097
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
3 hours ago
» Replies: 0
» Views: 31
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
9 hours ago
» Replies: 2
» Views: 420
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
10 hours ago
» Replies: 0
» Views: 70
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 08:56 PM
» Replies: 9
» Views: 561
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,786
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,105
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,464
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 3,026
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,777

 
  Kalman Filter for predicting randomized chaos in Jupyter Labs
Posted by: hbyte - Jan-02-2021, 05:07 PM - Forum: Homework - No Replies

As a start to this forum Ive included this wonderful peice of Vanilla code - The Kalman Filter
I downloaded from github this wonderfully elega..... More

Print this item

Question How to configure scrollbar dimension?
Posted by: water - Jan-02-2021, 03:39 PM - Forum: GUI - Replies (6)

How to configure scrollbar dimension like below, and let it move scrollbar's block automate with associated object current visible position percentage..... More

Print this item

  Adanced Image Analysis with Python for reflecting surfaces
Posted by: domonkasshu - Jan-02-2021, 02:13 PM - Forum: General Coding Help - Replies (3)

Hello Everyone
My name is Andrea, a computer engineer graduated many years ago with major in automation. After 5 years as automation software coder I..... More

Print this item

  Stop/continue While loop block
Posted by: Moris526 - Jan-02-2021, 09:54 AM - Forum: General Coding Help - Replies (68)

Hi.

I have this situation


I have a While loop reading serial and polling data from a board

[python]While True:

if (ser.inWaiting() ..... More

Print this item

  please help i cant print "We've been halfway through"
Posted by: Kakha - Jan-02-2021, 07:57 AM - Forum: General Coding Help - Replies (7)

[python]
g = 0
m = 300
while g <= m :
if g!=m :
d=m-g
elif g==m/2:
print("We've been halfway through")
print(f"Distance t..... More

Print this item

  What is the difference between a generator and a list comprehension?
Posted by: Pedroski55 - Jan-02-2021, 01:00 AM - Forum: General Coding Help - Replies (2)

I'm new to generators. Reuven Lerner describes them as "lazy lists"

This one assigns the letters of a string to alist a prescribed number of times...... More

Print this item

  how to create pythonic codes including for loop and if statement?
Posted by: aupres - Jan-02-2021, 12:46 AM - Forum: General Coding Help - Replies (1)

I am a newbie on python coding. Below are my legacy python codes.

[python]
for i, df_list in enumerate(df_list_of_list):
for j, df in enumera..... More

Print this item

  Matching multiple conditions and mapping multiple results, between two dataframes
Posted by: daveyg33 - Jan-01-2021, 10:14 PM - Forum: Data Science - Replies (2)

I'm very new to python and really don't know where to start doing the following:
I have two dataframes, df1 and df2.

[python]df1
fruit id ..... More

Print this item

  adding backgroung image
Posted by: ebolisa - Jan-01-2021, 09:18 PM - Forum: GUI - Replies (4)

Hi,

The code below brings up 2 windows, Login and IOT.

I'd like to add a background image in the Login window but, for some reasons, the image is a..... More

Print this item

  Socket out of LAN
Posted by: Mathisdlg - Jan-01-2021, 06:52 PM - Forum: Networking - Replies (1)

Hello world,
I want to do a software of communication with socket but I want to communicate out of my LAN but I don't know how I can do it Wall ..... More

Print this item

  why doesn't python look in two directions
Posted by: Kakha - Jan-01-2021, 06:17 PM - Forum: General Coding Help - Replies (21)

[b]this stupid code is created on purpose, the interpreter reacts to the truth and executes it, but if the truth is in two directions, it chooses a sh..... More

Print this item

  Writing to file ends incorrectly
Posted by: project_science - Jan-01-2021, 04:41 PM - Forum: General Coding Help - Replies (4)

Hi,

An external txt file has 2 numbers in it (default). I'm asking a user to input 2 new numbers in my script. These then get written to the text..... More

Print this item

  help with selenium
Posted by: ZinkQ - Jan-01-2021, 03:41 PM - Forum: Web Scraping & Web Development - Replies (2)

why it doesnt work?

my code:

from selenium import webdriver
driver = webdriver.Chrome()
driver.get("http://www.google.com")
..... More

Print this item

  start to learn Python
Posted by: Berliner - Jan-01-2021, 03:21 PM - Forum: News and Discussions - Replies (11)

Hi all, I would like to start to learn Python.
I kindly ask you to give me some advices, please:

- Good tutorial for the beginners;
- Good and fr..... More

Print this item

  Assign a value if datetime is in between a particular time limit
Posted by: klllmmm - Jan-01-2021, 08:08 AM - Forum: General Coding Help - Replies (2)

Hi there,

I'm trying to assign a value to a dataframe if my DateTime column time value is belonging to a particular time frame.

I tried to use;..... More

Print this item

  Converting .txt to .csv file
Posted by: SunWers - Jan-01-2021, 06:26 AM - Forum: General Coding Help - Replies (21)

Hi,

I'm needing a little help getting a text/tab delimited file imported in with python. I think I'm missing how to import the columns... This is..... More

Print this item

  Multi-class iterator
Posted by: Pedroski55 - Jan-01-2021, 02:47 AM - Forum: General Coding Help - Replies (2)

Hi and Happy New Year!

I am studying Reuven Lerner's book Python Workout, now at chapter 10, Iterators and Generators.

I don't know about classe..... More

Print this item

  new line character
Posted by: project_science - Jan-01-2021, 02:31 AM - Forum: General Coding Help - Replies (3)

Hi,

I've got a simple code which should open, read, write, and append code. On the 3rd block of code, it returns the text from the 2nd block on th..... More

Print this item

  Distributing Python/Pygame code with CX_Freeze
Posted by: jfng75 - Dec-31-2020, 08:44 PM - Forum: Game Development - Replies (2)

Hi,
I'm trying to use CX_Freeze for distributing a Python app developed with Pygame.
Using *python setup.py bdist_dmg* for Mac, the resulting app is..... More

Print this item

  [HELP] string into binary
Posted by: ZeroPy - Dec-31-2020, 03:46 PM - Forum: General Coding Help - Replies (2)

hello everyone,
after trying for hours and not finding a solution, i came here to ask for help.

i have a user input a string, for example : [color..... More

Print this item

  can I set scan interval for scapy?
Posted by: korenron - Dec-31-2020, 01:43 PM - Forum: Networking - No Replies

I have found a simple code that sacn my environment
work good

but I want to set my own time it will start the scan
and also to now on which cha..... More

Print this item

  new in this area
Posted by: Ana_junior - Dec-31-2020, 11:28 AM - Forum: Data Science - Replies (2)

Hello I am pretty new in this type of data anlysis so I am learning and tsting myself.

I have received thsi text in .pre format with precipitaions...... More

Print this item

  [NEW TO PYTHON] errno 2 "no such file or directory"
Posted by: arcaic_ - Dec-30-2020, 11:48 PM - Forum: GUI - Replies (2)

Hi, sorry, it turns out that the error was caused by the compiler I was using at the time. I tried it on a separate compiler and it worked fine. Thank..... More

Print this item

  Adafruits Neotrellis interrupt with RAsp and Python
Posted by: Moris526 - Dec-30-2020, 08:11 PM - Forum: General Coding Help - Replies (5)

Hi.

Im new to python and electronics. Im trying to use interrupt on a NEotrellis Board. It did worked with Arduino (with the sample code from Adafr..... More

Print this item

  counting vowels in a string
Posted by: project_science - Dec-30-2020, 05:18 PM - Forum: General Coding Help - Replies (3)

Hi,

I'm moving from a C background to python. I'm trying to count the number of vowels in a string. I've put the vowels in a list, and I'm trying..... More

Print this item

  Fork not supported for subinterpreters (help)
Posted by: Fandangos - Dec-30-2020, 04:49 PM - Forum: General Coding Help - Replies (4)

Hi,

I have run out of people to ask this so now I'm here :)
I'm not familiar with python, all I ever worked with is C++.

I'm working on a addo..... More

Print this item

  Formatting issues?
Posted by: Mark17 - Dec-30-2020, 04:03 PM - Forum: General Coding Help - Replies (1)

Here's some code:
[Python]
format_mapping2 = {'ES_Cum_%ROI':'{:.2%}','Port_Cum_%ROI':'{:.2%}','Port_Marg_Tot':'{:.2f}'}
for key, value in format_ma..... More

Print this item

  Json File more pages #pandas #dataframe
Posted by: nio74maz - Dec-30-2020, 05:32 AM - Forum: General Coding Help - No Replies

good day I have a problem, I have extract from rest api woocomerce all products in one file json, but this file have 4 pages with 100 row for page. I ..... More

Print this item

  New to Pandas. I need help fixing a TypeError
Posted by: kramon19 - Dec-30-2020, 03:53 AM - Forum: Data Science - Replies (1)

I loaded a CSV file called 'IMDb movies.csv' from kaggle. Here is the link to this file https://www.kaggle.com/stefanoleone992/i...ve-dataset...... More

Print this item

  Can I modify part of 'Values' value of Treeview item?
Posted by: water - Dec-29-2020, 09:35 PM - Forum: GUI - No Replies

test_treeview.insert('', 'end', iid = 'i001', value = ['column-1', 'column-2', 'column-3'])
test_treeview.item('i001')['values']
[o..... More

Print this item

  Stumped by my own code (ratio & epoch-time calculation).
Posted by: MvGulik - Dec-29-2020, 07:50 PM - Forum: General Coding Help - Replies (2)

How to explain this ...

In a nutshell.
I have done something weird in my code/calculations. And now, a few days later, I can't figure out why its ..... More

Print this item

  Check for Caps Lock
Posted by: ebolisa - Dec-29-2020, 07:49 PM - Forum: GUI - Replies (1)

Hi,

In a class I use the code below to print in the console if the Caps Lock is on or not.
Instead of printing, I'd like to compare the [b]e.state..... More

Print this item

  Trying to make random image loop in Tk window using python
Posted by: Jediguy18 - Dec-29-2020, 07:45 PM - Forum: GUI - Replies (1)

I cant seem to find the right way to make a random image appear in a window (im using tk for the window), so every second a new random image from a fo..... More

Print this item

  Difference between math.pow and **
Posted by: alloydog - Dec-29-2020, 07:37 PM - Forum: General Coding Help - Replies (5)

I'm trying to write a script which uses the Steinhart-Hart equation to calculate the temperature of a thermistor from its measured resistance.

The ..... More

Print this item

  Help with Creating a Script for Automating Reports
Posted by: SunWers - Dec-29-2020, 06:28 PM - Forum: General Coding Help - Replies (1)

Hi,

I'm new to Phython and I'm working on trying to automate some reports that I've done manually for years. I work for a manufacturing facility t..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Creating a Mindmap progra... 1 hour ago J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 3 hours ago compuman145 compuman145 General Codin...
  A coding beginner needs h... 9 hours ago Littlefish Littlefish General Codin...
  Is the interpreter that c... 10 hours ago helendamdam helendamdam General Codin...
  Using a For Loop to subtr... Yesterday, 20:56 Anunderling deanhystad General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  real community 09-15, 20:16 decuser decuser News and Disc...
Most views
  The best Prog... 576694
  Tutorial Requ... 498857
  Web Scraping ... 440511
  Newbie with P... 384467
  New Users Int... 368151
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12087
buran 8176
snippsat 7368
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
randydurham Today
susan Today
jatinkumar12 Today
angelhealu504 Today
helendamdam Today

User Panel Messages

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