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,244
» Latest member: thebigback
» Forum threads: 38,778
» Forum posts: 175,805

Full Statistics

Online Users
There are currently 42 online users.
» 1 Member(s) | 38 Guest(s)
Bing, Google, AOL, Gribouillis

Latest Threads
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
24 minutes ago
» Replies: 5
» Views: 176
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
6 hours ago
» Replies: 2
» Views: 55
I’m building a Python Dat...
Forum: GUI
Last Post: Gribouillis
9 hours ago
» Replies: 6
» Views: 169
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:37 AM
» Replies: 1
» Views: 73
Data Science
Forum: Data Science
Last Post: mamta25
Yesterday, 05:27 AM
» Replies: 3
» Views: 2,592
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 163
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 154
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,570
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,392
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,592

 
  automatic create folders
Posted by: Mr_Kool - Dec-20-2021, 09:37 PM - Forum: General Coding Help - Replies (4)

Hello,

still new here so I hope i came to the right place.

I would like to automatically create empty folders from a csv file

But I ran into ..... More

Print this item

  Trying to search and make new column from the keyword.
Posted by: dgarg - Dec-20-2021, 05:39 PM - Forum: General Coding Help - Replies (1)

Below is the code - I am trying to add new column as name - keywords and data frame name is qd1 and column name is CRTXT
The error I am getting is ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Due to MDLable ID does not have get attribute how to override on this
Posted by: jayyu - Dec-20-2021, 10:38 AM - Forum: General Coding Help - No Replies

As i am new learner on kivy language with python

here is my code

[python]from kivy import app
from kivy.lang import Builder
from kivymd.app im..... More

Print this item

  Help! Chatting App - Changing the "IP & Port" into Username
Posted by: Rowan99 - Dec-20-2021, 07:00 AM - Forum: Homework - No Replies

Hello guys, I need some help for my homework.
I'm a beginner in this programming.
In this case, I have to change a few things [b]based on the code and..... More


Attached Files

Thumbnail(s)
   
Print this item

  Could someone help me finish this ASAP
Posted by: JimmyDricks - Dec-20-2021, 03:59 AM - Forum: Homework - Replies (7)

Hello Guys,

I'm hoping anyone can help an ignorant modeler. I haven't done much coding since I was in school, and I was trying to create a tool t..... More

Print this item

  Consistent error
Posted by: Led_Zeppelin - Dec-20-2021, 12:12 AM - Forum: General Coding Help - Replies (1)

I am trying to make some changes in one of my virtual environments. I am adding or reinstalling jupyter notebook
The install goes well, but in the en..... More

Print this item

  XML for EPP formatting
Posted by: WiVM - Dec-19-2021, 06:47 PM - Forum: General Coding Help - No Replies

Hi,

I am trying to work with the epp-python-client which is available on Github, but creating a contact is driving me nuts because I doesn't want t..... More

Print this item

  floats 2 decimals
Posted by: rwahdan - Dec-19-2021, 05:33 AM - Forum: General Coding Help - Replies (3)

Hi

I have a problem with total that is float and i have tried to make it 2 decimal but sometimes it is working and sometimes it is not working.

..... More


Attached Files

Thumbnail(s)
   
Print this item

  Need help wioth elif
Posted by: michael_lwt - Dec-19-2021, 03:09 AM - Forum: General Coding Help - Replies (1)

[python]a = int(input("What is your age : "))
b = int(input("How long have you beed in this address ? "))
c = float(input("What is your annual income ..... More

Print this item

  Get the marker that the time marker is currently colliding with
Posted by: chesschaser - Dec-18-2021, 09:52 PM - Forum: GUI - Replies (7)

Hi guys,
I am making an app with ttkwidgets timeline and I need to know what marker the time marker is hovering over so I can run my functions accord..... More

Print this item

  Creating permutations of N size with no same elements next to one another (recursion)
Posted by: melmoman - Dec-18-2021, 06:06 PM - Forum: General Coding Help - Replies (1)

Hello everyone! I am studying python from a Romanian book, and I have been trying some exercises on recursion.
I am quite struggling with this one: I..... More

Print this item

  Moving to AWS with Python
Posted by: nigelwright7557 - Dec-18-2021, 04:58 PM - Forum: General Coding Help - Replies (3)

As my free subscription was up with Azure I decided to move my small ecommerce project to AWS.
Found I needed to use AWS toolkit with visual studio t..... More

Print this item

  Compare filename with folder name and copy matching files into a particular folder
Posted by: shantanu97 - Dec-18-2021, 11:22 AM - Forum: General Coding Help - Replies (2)

I am trying to write a python script that will use a regex to compare the file name that is present in the input folder with the output folder and if ..... More


Attached Files

Thumbnail(s)
       

.py   test.py (Size: 1.82 KB / Downloads: 396)
Print this item

  How to import file and function in another folder
Posted by: SriRajesh - Dec-18-2021, 03:16 AM - Forum: General Coding Help - Replies (1)

Hi,
I have two folders folder1, folder2 as shown below:

Folder1
-- file1
--file2
Folder2
--file3
-- file4
I open file4 in ..... More

Print this item

  Series-A Startup Looking for Fully Remote Sr. Software Engineer
Posted by: Sixsha - Dec-17-2021, 07:20 PM - Forum: Jobs - Replies (4)

Greetings Python Devs,

I am currently working on a project for a Digital Health Startup, providing SaaS that is the Digital Infrastructure for Doct..... More

Print this item

  Help with string formatting in classes
Posted by: brthurr - Dec-17-2021, 03:43 PM - Forum: General Coding Help - Replies (6)

Hello all. I'm currently taking an Intro to Python course, and I'm on the lesson where we're dealing with Class composition. In the exercise, I have t..... More

Print this item

  How to efficiently average same entries of lists in a list
Posted by: xquad - Dec-17-2021, 03:32 PM - Forum: General Coding Help - Replies (5)

Hello,

I am working on data from which I calculate (using peakutilis) 4 peaks.
These positions of the 4 peaks are stored in a list like:
[3141,..... More


Attached Files

Thumbnail(s)
   
Print this item

  menu while loop
Posted by: 3lnyn0 - Dec-17-2021, 03:08 PM - Forum: General Coding Help - Replies (12)

Hello! I have a problem with the code below.
If I remove the 2 lines below from the code, the code enters the loop.
If I leave it when I use option ..... More

Print this item

  For Loop Works Fine But Append For Pandas Doesn't Work
Posted by: knight2000 - Dec-17-2021, 07:35 AM - Forum: General Coding Help - Replies (2)

Hi all,

I'm practicing a little webscraping and I'm extracting various elements from it. Everything is going as expected except for one component. ..... More

Print this item

Question How to gather specific second-level items from a list
Posted by: chatguy - Dec-17-2021, 06:32 AM - Forum: General Coding Help - Replies (2)

Hi All,

I'm trying to create a combined list of itemNames under "run", within each of the headers, if anyone can help please.

[b]Example List ..... More

Print this item

  Python Software Developer in Medical Imaging
Posted by: jcohenadad - Dec-17-2021, 02:03 AM - Forum: Jobs - Replies (1)

At the Neuroimaging Research Laboratory based at Ecole Polytechnique, University of Montreal, we work to better understand the brain and the spinal co..... More

Print this item

  Find overlapping date in database
Posted by: Hilal - Dec-16-2021, 04:18 PM - Forum: General Coding Help - Replies (2)

I have entered the start and end date and now I want to find the number of days which overlap with the start and end date in my database. I am having ..... More

Print this item

  Evaluating arithmetic expression with recursion.
Posted by: muddybucket - Dec-16-2021, 01:36 PM - Forum: General Coding Help - Replies (3)

Hi, I am tasked to make a recursive function which evaluates the expression starting from the given position. Return the value and the first position ..... More

Print this item

  import csv adding a header with pandas
Posted by: Soares - Dec-16-2021, 12:16 PM - Forum: Data Science - No Replies

Hi,

I'm importing a csv without a header. And I'm trying to tweak my script so that a header is included during load.

In addition to including t..... More

Print this item

  Trying to understand Numpy/array
Posted by: nabuchadresar - Dec-16-2021, 09:30 AM - Forum: General Coding Help - Replies (2)

Hi guys, it's on my first exercise list with Numpy.
That problem:
Consider the 3 arrays below
Return the value of the xarr array if the value is Tr..... More

Print this item

  How do you format Update statement with multiple conditions
Posted by: hammer - Dec-16-2021, 02:13 AM - Forum: General Coding Help - Replies (4)

Below shows a workableUpdate format for changing 1 field with 1 Where condition. I understand how the Bobby Table Format association works here.
Wha..... More

Print this item

Question Problem editing images
Posted by: ielcraft1 - Dec-16-2021, 01:32 AM - Forum: General Coding Help - Replies (2)

Hi, I am trying to make a program that edits images with python.
My difficulty is putting a png (no background) over the scene I want.
I am using th..... More

Print this item

  Problem : Count the number of Duplicates
Posted by: NeedHelpPython - Dec-16-2021, 12:42 AM - Forum: General Coding Help - Replies (3)

Problem : Count the number of Duplicates

Write a function that will return the count of distinct case-insensitive alphabetic characters and numeric d..... More

Print this item

  Trying to parse and work with the WhatsApp export of chats
Posted by: cubangt - Dec-15-2021, 11:00 PM - Forum: General Coding Help - Replies (6)

So i have been trying to parse or work with the export from WhatsApp chat history. I'm using that because i thought it would be a simple text format t..... More

Print this item

  beginner having text based adventure trouble
Posted by: mrgee - Dec-15-2021, 10:27 PM - Forum: Homework - Replies (2)

hi im new to python and am having trouble with coding.

Basically, I want to get to a point in the game that prints a lists (which ive done)
give a..... More

Print this item

  Parallel processing of multiple elements in list not working?
Posted by: amjass12 - Dec-15-2021, 03:18 PM - Forum: Code Review - No Replies

Hi,

I am trying to parallelise a function that will loop of over many millions of elements. It is a pearson correlation calculation of every colum..... More

Print this item

  Simple arithmetic question
Posted by: ebolisa - Dec-15-2021, 01:53 PM - Forum: General Coding Help - Replies (5)

Hi,

I'd like to round the number 12.13 to 12 and 12.45 to 13.
None of the following functions return the format I'm looking for. I guess I could u..... More

Print this item

  labels.append(self.classes.index(member.find('name').text))
Posted by: hobbyist - Dec-15-2021, 01:40 PM - Forum: General Coding Help - Replies (1)

Hello, I am following this tutorial: tutorial in order to train..... More

Print this item

  Calling a class from a function
Posted by: jc4d - Dec-15-2021, 08:04 AM - Forum: General Coding Help - Replies (5)

Hi all,

I'm pretty noob in python hence the question. Blush
Is it possible to call a class from a function?

Cheers,

Print this item

  Scraping the page without distorting content
Posted by: oleglpts - Dec-15-2021, 07:27 AM - Forum: Web Scraping & Web Development - Replies (5)

I am faced with the task of scraping a website page in such a way that its offline browser display matches the original page as closely as possible. A..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Backward compatibility qu... 24 minutes ago yutaozhou Gribouillis News and Disc...
  Help with Serial.write in... 6 hours ago racingsubby racingsubby General Codin...
  [Tkinter] I’m building a ... 9 hours ago tsgiannis Gribouillis GUI
  [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
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
Most views
  The best Prog... 578760
  Tutorial Requ... 509579
  Web Scraping ... 441885
  Newbie with P... 385855
  New Users Int... 375570
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+ 12103
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
thebigback Yesterday
dimitriwati Yesterday
johnsonlucas83 Yesterday
ColorTig Yesterday
AcoolPurpleOne1863 Yesterday

User Panel Messages

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