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 41 online users.
» 1 Member(s) | 38 Guest(s)
Bing, Google, mamta25

Latest Threads
New to python and coding
Forum: Homework
Last Post: Larz60+
Yesterday, 10:18 AM
» Replies: 1
» Views: 62
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 09:52 AM
» Replies: 11
» Views: 273
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 09:41 AM
» Replies: 3
» Views: 118
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 05:07 AM
» Replies: 5
» Views: 253
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 97
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,609
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 198
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 179
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,005
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,416

 
  Memory leak due to pandas data frame
Posted by: AshwinY - Jun-14-2024, 04:48 PM - Forum: News and Discussions - No Replies

Hi,
I am facing memory leak issue while referring data frame

[python]import os
import sys
import time
import pandas as pd
sys.path.append("..... More

Print this item

  Create new column in dataframe
Posted by: Scott - Jun-14-2024, 07:04 AM - Forum: Data Science - Replies (10)

Hi everyone,

I have a dataframe I am trying to manipulate to create two new columns and drop 1 based on the sum function the does a conditional gro..... More

Print this item

  import vs inserting code
Posted by: Skaperen - Jun-14-2024, 01:18 AM - Forum: News and Discussions - Replies (10)

is there any circumstance in which inserting code, such as while editing, has a different result than doing an import of the same code when bot..... More

Print this item

  using dir_fd=None in some functions
Posted by: Skaperen - Jun-13-2024, 11:33 PM - Forum: General Coding Help - Replies (2)

in The Python Library Reference i see this:
[output]
You can check whether or not dir_fd is supported on your platform using os.supports_dir_fd.
If..... More

Print this item

  Can't figure out how to scrape grid
Posted by: templeowls - Jun-13-2024, 05:14 PM - Forum: Web Scraping & Web Development - Replies (3)

I have the below code to scrape this site (https://oig.hhs.gov/reports-and-publicat...lications/) and extract to a CSV.

It wor..... More

Print this item

  adding a calculated column
Posted by: charles986 - Jun-13-2024, 03:34 PM - Forum: General Coding Help - Replies (1)

I have noticed that when I have added a column to my data frame made up of 2 existing column divided by each other the NaN values in the data frame go..... More

Print this item

  Improving idle into something more like idlex?
Posted by: ushuy - Jun-13-2024, 01:24 PM - Forum: News and Discussions - Replies (1)

Why IDLE didn't integrate all the idlex features (line annotation, etc.) by default?

What could be the reason(s)?

Print this item

  adding a calculated column
Posted by: charles986 - Jun-13-2024, 11:21 AM - Forum: General Coding Help - Replies (1)

I have noticed that when I have added a column to my data frame made up of 2 existing column divided by each other the NaN values in the data frame go..... More

Print this item

  Circumvent the "access denied" page?
Posted by: Pedroski55 - Jun-13-2024, 10:53 AM - Forum: General Coding Help - Replies (7)

Is there a way to circumvent the access denied page?

I am trying to find importers of agricultural chemicals in various countries for my girlfriend..... More

Print this item

  How to type *_
Posted by: deanhystad - Jun-12-2024, 10:20 PM - Forum: General Coding Help - No Replies

I have two graphics widgets, say a check button and a combo box. When I change the values in these controls, I want to call a function. Even though ..... More

Print this item

  Python database Axidrawer
Posted by: Harterink - Jun-12-2024, 05:14 PM - Forum: General Coding Help - Replies (1)

Dear Python forum,

I am seeking help with a problem I have been struggling with for days. I have created a small website with the help of a teacher..... More

Print this item

  Replace values in Yaml file with value in dictionary
Posted by: PelleH - Jun-12-2024, 02:37 PM - Forum: General Coding Help - Replies (1)

Hi, I have a problem with one script. (Python3 ver 3.6.x)
I have a file "deployment_custom.txt" containing values to set in a Yaml file. One value pe..... More

Print this item

  TypeError: string indices must be integers, not 'str'
Posted by: LEMA - Jun-12-2024, 01:08 PM - Forum: General Coding Help - Replies (2)

Hi,
I'm learning python and tkinter and trying to create a multilingual project.
Everything works fine except the variable <a> which must fetch a l..... More

Print this item

  List with equal repeatable data
Posted by: Ataman - Jun-12-2024, 10:41 AM - Forum: General Coding Help - Replies (6)

Hi pythonists! This is my first post there... I faced with a question when I needed to create a list with a number of empty lists. I found two approac..... More

Print this item

  Game restart problem
Posted by: senka_25 - Jun-12-2024, 09:48 AM - Forum: Game Development - Replies (4)

Hi guys, me and my friends are making a 2d platformer and are in desperate need of help. This is the link to our github repository, the updated code i..... More

Print this item

  Installing mailjet_rest for Python 3 while Python 2 is installed
Posted by: gw1500se - Jun-12-2024, 06:23 AM - Forum: General Coding Help - Replies (1)

I'm trying to convert my python script from version 2 to 3. I need mailjet_rest but I cannot figure out how to install it for version 3. When I run pi..... More

Print this item

  SOLVED: Install mailer module in Python 3.11.2?
Posted by: Calab - Jun-11-2024, 10:08 PM - Forum: General Coding Help - Replies (3)

Is it possible to install the mailer module in Python 3.11.2?

We have a script currently running in Python 3.7 that we want to move to 3.11. One of..... More

Print this item

Question No disconnect method for snowflake.connector ?
Posted by: Calab - Jun-11-2024, 09:42 PM - Forum: General Coding Help - No Replies

I am using the snowflake module to connect to a Snowflake database using snowflake.connect(). The connection seems to work as expected, but after I'm ..... More

Print this item

  Cant contain variable in regex
Posted by: robertkwild - Jun-11-2024, 06:19 PM - Forum: General Coding Help - Replies (3)

hi all,

im going to add to my “np” variable cant contain there username ie “un”

ive tried Regexp(‘form.un.data’, message=‘cant contain your name..... More

Print this item

  using split in my flask wtf form
Posted by: robertkwild - Jun-11-2024, 04:05 PM - Forum: General Coding Help - Replies (1)

hi all,

im trying to put a split command in my code like so

[python]
class PasswordForm(FlaskForm):
un = StringField('Username', [InputReq..... More

Print this item

  Programming neural networks with Python
Posted by: Kwauka - Jun-11-2024, 12:43 PM - Forum: Data Science - Replies (2)

I'm just trying my hand at neural networks, I'm a beginner! And I have a problem with a Python statement. The Statement looks like
targets[int(zeileL..... More

Print this item

  robocopy question
Posted by: DPaul - Jun-11-2024, 07:11 AM - Forum: Bar - Replies (4)

Looking for somebody with hands-on experience in robocopy.
I want to do the simplest of things, copy and paste, but the number of switches is confusi..... More

Print this item

  Help with QR Code
Posted by: Miisato - Jun-11-2024, 02:10 AM - Forum: General Coding Help - Replies (4)

Dive into the dirtiest, rawest action on the web with our collection of free forced sex videos. Ready for brutal fucking that'll leave you gasping? We..... More

Print this item

  "[Errno 2] No such file or directory" (.py file)
Posted by: IbrahimBennani - Jun-10-2024, 07:06 PM - Forum: General Coding Help - Replies (13)

Hi to you all,

I am reaching out due to an issue while trying to run a ".py" file on Windows 11 Home Single Language.

After entering this on the..... More


Attached Files

Thumbnail(s)
   
Print this item

  Problems with ploting data
Posted by: vermor - Jun-10-2024, 01:49 PM - Forum: Data Science - Replies (4)

Hello python world, Im new to python just a heads up. Also most of the tags and names are in spanish as its the language we speak and have to deliver ..... More

Print this item

  smtplib send email has no timestamp
Posted by: Pedroski55 - Jun-10-2024, 07:17 AM - Forum: General Coding Help - Replies (2)

I want to send emails to customers automatically. So I am testing with just 5 email addresses to see how it works

I import these

[python]import ..... More

Print this item

  how to test if something is a sequence?
Posted by: Skaperen - Jun-09-2024, 11:54 PM - Forum: General Coding Help - Replies (11)

how to test if something is a sequence (as opposed to merely a list)?

Print this item

  Variable being erased inside of if statement
Posted by: deusablutum - Jun-09-2024, 07:50 PM - Forum: General Coding Help - Replies (8)

On the program I'm currently working on I have a variable that disappears at an if statement and I can't figure out why. Here is sort of what the code..... More

Print this item

  Guidance for the basic concept send/receive a heartbeat signal
Posted by: StefanL38 - Jun-09-2024, 01:40 PM - Forum: General Coding Help - Replies (1)

Hi Everybody,

I have some experience in programming pascal / delphi and C++.
So this means I know the basic concepts. But I have almost no knoweld..... More

Print this item

  Regex to catch what user has put in text box
Posted by: robertkwild - Jun-09-2024, 01:09 PM - Forum: General Coding Help - Replies (26)

hi all,

this is a small snippet from my python flask-wtf code

[python]
class PasswordForm(FlaskForm):
un = StringField('Username', [InputR..... More

Print this item

  How to compare specific elements of a TSV in difflib
Posted by: gonksoup - Jun-08-2024, 12:11 PM - Forum: General Coding Help - Replies (1)

This compare routine works fine to constrain the search to specific rows and columns. However, the column limits are useless if I want to compare 2 T..... More

Print this item

  Formatting DateTime string and and converting it from AM/PM to 24 hours
Posted by: tester_V - Jun-08-2024, 06:53 AM - Forum: General Coding Help - Replies (2)

Greetings!
Here are two snippets, it seems both are right but only first one is working:
I'm confused why the second one is not working:
[python]
dt_s..... More

Print this item

  Is NaN a float?
Posted by: Pedroski55 - Jun-08-2024, 06:19 AM - Forum: General Coding Help - Replies (4)

Is NaN a float?

The girlfriend works for a company that exports agrochemicals. She sent me an Excel with about 250 customers details, mostly in Afr..... More

Print this item

  Warn user of validation error before they click submit
Posted by: robertkwild - Jun-07-2024, 08:17 PM - Forum: General Coding Help - Replies (1)

hi all,

so ive done a flask-wtf form but instead of warning users after they click the “submit button” i want it to warn them before ie as soon as ..... More

Print this item

  how solve: local variable referenced before assignment ?
Posted by: trix - Jun-07-2024, 05:27 PM - Forum: General Coding Help - Replies (5)

hello,

i am writing a code for a stepper motor, it moves from the left to the right.
i limit the movement with a software limit.
if the stepper g..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding Yesterday, 10:18 lary_p Larz60+ Homework
  [Tkinter] I’m building a ... Yesterday, 09:52 tsgiannis tsgiannis GUI
  Help with Serial.write in... Yesterday, 09:41 racingsubby Larz60+ General Codin...
  Backward compatibility qu... Yesterday, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 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... 578822
  Tutorial Requ... 509815
  Web Scraping ... 441914
  Newbie with P... 385908
  New Users Int... 376005
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
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Kacper Yesterday
isla123456 Yesterday
vibrometro Yesterday
thebigback 11-10
dimitriwati 11-10

User Panel Messages

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