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,272
» Latest member: DataScientist071
» Forum threads: 38,787
» Forum posts: 175,856

Full Statistics

Online Users
There are currently 32 online users.
» 0 Member(s) | 26 Guest(s)
Bing, Google, Applebot, AOL, Mojeek

Latest Threads
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 10:27 PM
» Replies: 3
» Views: 169
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Yesterday, 11:47 AM
» Replies: 4
» Views: 157
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Yesterday, 08:44 AM
» Replies: 2
» Views: 127
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 173
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 350
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 69
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 115
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 364
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 208
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 322

 
  dataframe groupby with totals for certain fields
Posted by: mikisDeWitte - Oct-16-2020, 10:59 AM - Forum: Data Science - Replies (4)

Hello,

I am frequently required to calculate stuff for a number of dataframe columns, but with totals included.
I know I can ignore a specific dim..... More

Print this item

  Transpose a dataset in pandas
Posted by: simhadriraju - Oct-16-2020, 09:57 AM - Forum: General Coding Help - Replies (1)

I have a pandas dataframe and want to transform

partyID SourceID Text 1 Name 1 Text 2 Name 2
1 1 ramesh kumar jhon pop
1 2 cher..... More

Print this item

  Strange syntax error with f-strings
Posted by: Askic - Oct-16-2020, 08:52 AM - Forum: General Coding Help - Replies (6)

Hello Python experts,

can someone please explain me why this code produces a syntax error:
[code]
favorite_languages = {
'jen': 'python',
'sa..... More

Print this item

Information Asynchronous & synchronous Wrapper for Backblaze's B2
Posted by: WardWeeb - Oct-16-2020, 05:23 AM - Forum: Code sharing - No Replies

Welcome to Backblaze’s unofficial documentation!
This is a unofficial asynchronous & synchronous wrapper for Backblaze’s B2 API.
..... More

Print this item

  str.join()?
Posted by: Skaperen - Oct-16-2020, 12:23 AM - Forum: News and Discussions - Replies (3)

i saw some code that used str.join() for something. is that a normal join?

Print this item

  Mazecraft - A fast paced, maze solving game(with maze editor)
Posted by: Atekka - Oct-16-2020, 12:07 AM - Forum: Code sharing - No Replies

This is the first game I made with Pygame, it was originally supposed to be a snake game but I got sidetracked pretty hard and this is what became of ..... More

Print this item

  What is programming 'based' on?
Posted by: MartyMcFly - Oct-15-2020, 07:38 PM - Forum: News and Discussions - Replies (4)

I've searched book sellers for a book about understanding what programming is based on (theory, how, why it works, etc.). I've recently started a boo..... More

Print this item

  Markov Analysis not working
Posted by: 5Head - Oct-15-2020, 05:25 PM - Forum: Homework - Replies (3)

Write a program to read a text from a file and perform Markov analysis. The result should be
a dictionary that maps from prefixes to a collection of p..... More

Print this item

  rings
Posted by: Skaperen - Oct-15-2020, 03:26 PM - Forum: News and Discussions - Replies (14)

i was thinking about the concept of a new container type. this is not for any particular need i have so i have no need to implement this. the name "..... More

Print this item

  Behavior of Abstract Base Class
Posted by: dgrunwal - Oct-15-2020, 03:12 PM - Forum: General Coding Help - Replies (4)

All,

Is this behavior correct for ABC class? I expected only the method in class S to be printed. Is this the correct behavior?

[python]import..... More

Print this item

  Azure Function App Configuration Settings
Posted by: jdb1234 - Oct-15-2020, 12:03 PM - Forum: Web Scraping & Web Development - Replies (1)

I'm fairly novice with Python, but looking for examples of how to retrieve a value in the configuration settings within an Azure Functions App. This ..... More

Print this item

  Data I/O between two RPI 4B...
Posted by: ATARI_LIVE - Oct-15-2020, 11:50 AM - Forum: Networking - Replies (2)

Administrator, Please remove this post. Thank You.

Print this item

  invalid syntax (BEGINNER)
Posted by: Shishi - Oct-15-2020, 10:49 AM - Forum: General Coding Help - Replies (21)

Hi, im a beginner to python and i was trying to test my knowledge by creating a simple game, it's a quiz game of four questions, each question answere..... More

Print this item

  subprocess call cannot find the file specified
Posted by: RRR - Oct-15-2020, 08:50 AM - Forum: General Coding Help - Replies (6)

Hi,
I am trying to launch a batch file in windows with some arguments from a different directory.
Well its working with

os.system
c..... More

Print this item

  Converting Css To PyQt5 Gradient
Posted by: Harshil - Oct-15-2020, 08:04 AM - Forum: GUI - No Replies

Can SOmeOne Help Me Convert This To PyQt5 Graident
background-color: linear-gradient(175.93deg, #5F00D8 -10.23%, #B200F1 117.03%);
IDK How to conver..... More

Print this item

  Displaying duplicates in dictionary
Posted by: lokesh - Oct-15-2020, 07:43 AM - Forum: General Coding Help - Replies (2)

Hi,

I am trying to below snippet of code but displaying duplicates. Can you please let me know where i did mistake.

[python]
src_base_path="/d..... More

Print this item

  New Theme for all users
Posted by: snippsat - Oct-15-2020, 07:04 AM - Forum: Board - Replies (14)

Roll out our new Responsive Themes for all users.
The Themes we gone for is [url=https:..... More

Print this item

  A question regarding to the microservice architecture
Posted by: itaybardugo - Oct-15-2020, 06:37 AM - Forum: General Coding Help - No Replies

Hello everyone
i have a microservice which exposes a few endpoints, each of these endpoints can be executed by a http request(flask).
I have one sp..... More

Print this item

  Passing argument from top-level function to embedded function
Posted by: JaneTan - Oct-15-2020, 04:15 AM - Forum: General Coding Help - Replies (2)

Hi,
This is a simplified example. But basically, I have function within a function. I want to pass the argument from the top-level function to the em..... More

Print this item

  [Errno 54] Connection reset by peer
Posted by: BlueBlue - Oct-14-2020, 09:32 PM - Forum: General Coding Help - No Replies

Not sure if this is the right place, if not please advise.

I try to get Python3 (3.8.6) up and running on a Mac (Catalina 10.15.6). Here is what I ..... More

Print this item

  parser.parse_args() meaning
Posted by: vinci - Oct-14-2020, 09:09 PM - Forum: General Coding Help - Replies (2)

This is a simple question, but I'm asking it anyway, because I can't figure out the answer by myself:
why do we need the [i]args = parser.parse_args(..... More

Print this item

  adding user to a class
Posted by: Nickd12 - Oct-14-2020, 09:05 PM - Forum: General Coding Help - Replies (3)

once a class is made how to I add contacts to it in the future with input as apposed to manually inputting the code for example lets say I wanted to a..... More

Print this item

  unable to put newline in editor
Posted by: metulburr - Oct-14-2020, 08:58 PM - Forum: Board - Replies (6)

having an issue with not being able to insert a newline (enter) in editor

Print this item

  Why is this happening?
Posted by: taner7 - Oct-14-2020, 08:50 PM - Forum: General Coding Help - Replies (3)

Hi,
Newly learning Python through Linkedin Learning and I got the following result when I make multiplication. Why is this happening, any idea? I have..... More

Print this item

  When can we see good built-in libraries for mobile & gaming development
Posted by: SatyakiDe - Oct-14-2020, 08:36 PM - Forum: News and Discussions - Replies (6)

Hi Guys!

Today, I joined this forum. However, I've been using Python for the last 8 years. I'm not sure whether this topic is already addressed by ..... More

Print this item

  Debugging Threads
Posted by: sblancov - Oct-14-2020, 04:53 PM - Forum: General Coding Help - No Replies

Hi! I am new here, I hope this is the place where this kind of questions should be posted.

I have googled a lot and always I find the same answer: ..... More

Print this item

  Repeating lines of code by an input
Posted by: Josh_Albanos - Oct-14-2020, 04:22 PM - Forum: General Coding Help - Replies (3)

Hi I'm currently learning python in school so am relatively new. I'm working on my own code that generates a random character with its own stats that ..... More

Print this item

  Running Stanford CoreNLP on Mac
Posted by: boredbobby - Oct-14-2020, 04:18 PM - Forum: General Coding Help - No Replies

I am trying to run CoreNLP from Stanford in PyCharm on a mac (macOS Catalina). First, I have to set JavaHome. I have the latest version of Java (versi..... More

Print this item

  Clarification on how to set up non-blocking socket connection
Posted by: Shaggy - Oct-14-2020, 10:12 AM - Forum: Networking - Replies (1)

Hi

-------------------------------------------------
System Information
Red Hat Enterprise Linux Server release 6.6 (Santiago)
Linux watvde0453 ..... More

Print this item

  How to distribute a Python application with a web-based installer?
Posted by: toshiEAB - Oct-14-2020, 09:38 AM - Forum: News and Discussions - No Replies

Hi everyone,

I am trying to figure out how to distribute a python application with a web-based installer. The app is for Windows OS. I want users o..... More

Print this item

  Python win32com.client: What are the syntax to open exe file & activate its window?
Posted by: JaneTan - Oct-14-2020, 09:09 AM - Forum: General Coding Help - No Replies

I am completely lost in using "win32com.client" to open an exe program and run it. I used the code appended at the end, but I get the following error:..... More

Print this item

  A bug in my school's autograder
Posted by: DontPanic - Oct-14-2020, 08:01 AM - Forum: Homework - Replies (1)

[font=Courier New, Courier, monospace]class A:
def __init__(self, a):
self.a = a
def __eq__(self, other):
return True

d..... More

Print this item

  Pandas, Assign a value in a row, to another column based on a condition
Posted by: klllmmm - Oct-14-2020, 05:22 AM - Forum: General Coding Help - Replies (6)

I'm trying to put a particular value in the data frame row to other rows also if it matches a condition. However i'm not getting what is expected. Can..... More

Print this item

  <function notes_counter at 0x0000024E06FC51F0
Posted by: Maryan - Oct-14-2020, 12:04 AM - Forum: GUI - Replies (4)

I have a little problem, if I set the global variable sys_note the results into sys_notes Label are printed in tuple format (3,).  I want to have a pl..... More

Print this item

  new help with dictionary and dataframe iteration
Posted by: AlphFinan - Oct-13-2020, 11:04 PM - Forum: General Coding Help - No Replies

Hello folks

I am trying to iterate through a dataframe nested in a dictionary and assign period numbers in a new column to each row in the datafram..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Graph Interpolate Difficu... Yesterday, 22:27 Tuurbo46 deanhystad General Codin...
  [SOLVED] Access keys and ... Yesterday, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... Yesterday, 08:44 Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  sorting a lisr of file pa... 11-15, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
Most views
  The best Prog... 579108
  Tutorial Requ... 511303
  Web Scraping ... 442068
  Newbie with P... 386133
  New Users Int... 378460
Most reputation
buran 581
snippsat 511
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+ 12108
buran 8196
snippsat 7389
deanhystad 6914
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
DataScientist071 Today
aminrony1999 Yesterday
fobby888 Yesterday
digitalboy346 Yesterday
ben9090o Yesterday

User Panel Messages

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