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,422
» Latest member: alexfox
» Forum threads: 38,829
» Forum posts: 176,077

Full Statistics

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

Latest Threads
If I open a file write or...
Forum: General Coding Help
Last Post: bowlofred
1 hour ago
» Replies: 5
» Views: 110
a function to watch files
Forum: News and Discussions
Last Post: Skaperen
Yesterday, 05:21 AM
» Replies: 3
» Views: 746
python re.finditer return...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 02:57 AM
» Replies: 8
» Views: 511
Exponential Number Conver...
Forum: General Coding Help
Last Post: DeaD_EyE
Jan-09-2026, 08:47 PM
» Replies: 4
» Views: 454
Possible bug found, pleas...
Forum: General Coding Help
Last Post: alexajames
Jan-08-2026, 04:31 PM
» Replies: 14
» Views: 803
How to put my game loop i...
Forum: Game Development
Last Post: MarkHenry
Jan-08-2026, 12:47 PM
» Replies: 12
» Views: 7,763
Code failing to ask input...
Forum: Homework
Last Post: perfringo
Jan-08-2026, 06:35 AM
» Replies: 4
» Views: 731
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: OtiliaGen
Jan-07-2026, 07:13 AM
» Replies: 6
» Views: 1,033
Data Science
Forum: Data Science
Last Post: OtiliaGen
Jan-04-2026, 10:20 AM
» Replies: 4
» Views: 3,622
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Jan-02-2026, 12:32 PM
» Replies: 29
» Views: 17,379

 
  Received RunTimeError after script concludes, closing Dialog Window (clicking x-out)
Posted by: skipper0802 - Oct-09-2020, 08:01 PM - Forum: GUI - No Replies

Greetings All,
In learning more about using PyQt5's signals and slots I found a tutorial ..... More

Print this item

  parsing question
Posted by: ridgerunnersjw - Oct-09-2020, 07:50 PM - Forum: General Coding Help - Replies (7)

Can someone tell me how to parse this using '\x' and place each line on it's own:....I tried .split(b'\x') but this gives me an error

[output]b'\x0..... More

Print this item

  xml.etree.ElementTree question.
Posted by: water - Oct-09-2020, 06:47 PM - Forum: General Coding Help - No Replies

tested on python 3.8.2

test.xml contents:
[python]
<a>
<b1>b1 content
<c1>b1-c1 content</c1>
<c2>b1-c2 content</c2>
</b1>
<b2>b2 cont..... More

Print this item

  Populate the new lists by looping over the original lists
Posted by: drunkenphd - Oct-09-2020, 06:37 PM - Forum: General Coding Help - Replies (1)

have dataframe gapminder and every column is organized as separate list using code as below:

[python]country = df.country.to_list()
continent = df..... More

Print this item

  tkinter | Button color text on Click
Posted by: Maryan - Oct-09-2020, 04:51 PM - Forum: GUI - Replies (2)

Hi guys! I need some help from you.

for tkinter to change button color is 'fg, 'bg' for background. On click to change the background is 'activebac..... More

Print this item

  Creating Pong in Pygame
Posted by: Russ_CW - Oct-09-2020, 04:47 PM - Forum: Game Development - Replies (2)

Hi Folks,

This is my version of Pong, coded in PyGame, which was pretty fun and not too difficult to code. Any comments welcome :)

..... More

Print this item

  Selenium google login
Posted by: probottpric - Oct-09-2020, 04:19 PM - Forum: Web Scraping & Web Development - No Replies

Hey guys,

I am trying to login to my google account with selenium web browser, but google dosent allow to login using the chrome webdriver browser ..... More

Print this item

  Getting a list in dynamic page
Posted by: probottpric - Oct-09-2020, 03:35 PM - Forum: Web Scraping & Web Development - Replies (1)

Hey guys,

I am using python 3 with selenium and beautifulSoup and am trying to get a list of the members participating in a google meet. The problem ..... More

Print this item

  Import data in Python from PHP
Posted by: adm00 - Oct-09-2020, 03:29 PM - Forum: Web Scraping & Web Development - No Replies

498/5000
Hi, this is the first time that I write so I apologize in advance if I have the wrong section in the forum.
In the last few days I wanted t..... More

Print this item

  server down while making long posts
Posted by: metulburr - Oct-09-2020, 02:25 PM - Forum: Board - Replies (15)

@[buran] I know you were responding to posts while the forum was being hacked and losing all the content and forced to redo it. I have done this same ..... More

Print this item

  Next steps for using API data
Posted by: Rebster - Oct-09-2020, 10:48 AM - Forum: General Coding Help - Replies (6)

I'm very new to Python, and as a starter project I'm trying to use it to request data using an API which I then want to store in a csv file.

So far..... More

Print this item

  How to sort os.walk list?
Posted by: Denial - Oct-09-2020, 06:52 AM - Forum: General Coding Help - Replies (6)

Hello All

How to sort contents of the list I gathered from os.walk() method?

Here is my code:
[python]#!/usr/bin/env python3 ..... More

Print this item

  Modulation confusion.
Posted by: Milfredo - Oct-09-2020, 04:38 AM - Forum: General Coding Help - No Replies

I am redesigning my horse race handicapping program based on everyone's advice concerning classes and Modules. So I will post my beginning effort and ..... More

Print this item

  rgb to xyz
Posted by: Nickd12 - Oct-09-2020, 02:22 AM - Forum: General Coding Help - Replies (2)

does anyone know of a good interpreter to convert rgb to xyz or even better something where you can input a color like blue and it give to the rbg and..... More

Print this item

  Convert file of hex strings to binary file
Posted by: medatib531 - Oct-09-2020, 12:43 AM - Forum: General Coding Help - Replies (4)

Hello,
I have a file that has several hex string values, separated by the newline character. E.g. the file looks like:

[python]dd5bda81
ae0ac495
b97a..... More

Print this item

  Getting import error when trying to import Selenium
Posted by: Several - Oct-06-2020, 10:13 PM - Forum: Web Scraping & Web Development - Replies (1)

[python]


from selenium import webbrowser

webbrowser.get(
"C:/Program Files (x86)/Google/Chrome/Application/chrome.exe %s"
).open("https:..... More

Print this item

  platform independent programming with Python
Posted by: PythonMarlem - Oct-06-2020, 08:17 PM - Forum: News and Discussions - Replies (2)

Hello,

An important reason why I want to get really good at Python is that I can develop software
in Windows that also runs on Ubuntu and MacOS...... More

Print this item

  Tkinter - The Reuleaux Triangle
Posted by: andrewapk - Oct-06-2020, 07:37 PM - Forum: Homework - Replies (1)

Hello everyone,

I need help drawing a Reuleaux Triangle using 3 create_arc method. Unfortunately, it is not a perfect circle, meaning the midp..... More

Print this item

  [split] Python and Accessibility
Posted by: PythonMarlem - Oct-06-2020, 05:28 PM - Forum: General Coding Help - Replies (3)

Hello,
I am physically disabled and an expert in IT accessibility.

The programming language Java and Python have one thing in common. The programs ar..... More

Print this item

  Variables being overridden to initial values.
Posted by: p2bc - Oct-06-2020, 04:43 PM - Forum: General Coding Help - Replies (6)

Hello first post... as a Python user.

A long time PHP coder, trying to make the move over to Django, so I figured I would try my hand at a backup s..... More

Print this item

  hello everyone.
Posted by: BCola683 - Oct-06-2020, 02:54 PM - Forum: General Coding Help - Replies (1)

Hello. I am new to python and relatively new to coding. I have experience in school only so far with C#, SQL, ASP.NET and a little JAVA.

my boss, I..... More

Print this item

  Correct data structure for this problem
Posted by: Wigi - Oct-06-2020, 11:12 AM - Forum: General Coding Help - Replies (13)

Hi all !

New to the forum and rather new to Python scripting, but not new to programming in general. I am looking for advice on the data structure to..... More

Print this item

  Tkinter - How can I extend a label widget?
Posted by: TurboC - Oct-06-2020, 10:42 AM - Forum: GUI - Replies (2)

maybe it's a simple question, but I can't find a solition.

below an image. by default a label widget has 3 blank pixels placed on each side for the p..... More

Print this item

  Tkinter - How can I change the default Notebook border color?
Posted by: TurboC - Oct-06-2020, 10:08 AM - Forum: GUI - Replies (5)

below my example code:

[python]
from tkinter import *
from tkinter import ttk

root = Tk()
root.geometry("400x300")

style=ttk.Style()
styl..... More

Print this item

  how to rotate lines in tkinter canvas
Posted by: helpmewithpython - Oct-06-2020, 09:21 AM - Forum: GUI - Replies (1)

So i am working on a project where i need to rotate lines placed in tkinter canvas to link them to circles. So like two circles have to be linked toge..... More

Print this item

  function call at defined system time?
Posted by: Holon - Oct-06-2020, 08:10 AM - Forum: General Coding Help - Replies (5)

Hello everyone,

I want to create a background service like script, that will execute tasks at given times and/or dates. I would like to use asyncio..... More

Print this item

  Web app structure with python as backend
Posted by: alt19 - Oct-06-2020, 07:44 AM - Forum: Web Scraping & Web Development - Replies (1)

Dear friends,

I'm new in python world - just few months of learning. It is time for me to build something by my own :). I have an idea to create a..... More

Print this item

  Send Keys Error?
Posted by: AgileAVS - Oct-06-2020, 07:39 AM - Forum: Web Scraping & Web Development - No Replies

Hey I have not been able to send date from the drop list in this website:

Here is my code:
1.Even if I .click(), it shows error [error]NoneType ha..... More

Print this item

  Time limit exceed problem
Posted by: chonchon430 - Oct-06-2020, 07:01 AM - Forum: Homework - Replies (10)

I got the following question in my exercise:

"There is 2 integers, x and y and I need to classify the integer from 1 to y into 2 group. One group w..... More

Print this item

  Moving Files From Subdirectories To Another Directory
Posted by: Harshil - Oct-06-2020, 06:41 AM - Forum: General Coding Help - Replies (5)

So Hey! I Have A Problem Not Homework

Problem: I Have Many Font Files(Zip Download From GOogle Zip) And I Want to Move Them Only Ttf And Otf Files..... More

Print this item

  Async requests
Posted by: lukee - Oct-06-2020, 04:40 AM - Forum: General Coding Help - No Replies

Hello,

Is there a way to have async requests in python using an http proxy, which has been set by the PAAS provider (pythonanywhere) on the request..... More

Print this item

  Display 8 elements per line
Posted by: SalsaBeanDip - Oct-06-2020, 01:02 AM - Forum: Homework - Replies (1)

I have a function called display(dict) that takes a dictionary as a parameter and displays all the elements of the dictionary. It should only display ..... More

Print this item

  How can I enter 2 jinjia variables in this hyperlink?
Posted by: Ulnie - Oct-06-2020, 01:01 AM - Forum: Web Scraping & Web Development - Replies (2)

I would like to insert the data from two "zipped" lists into a hyperlink. In the following code, the DATA list is what I want the user to see in the ..... More

Print this item

  parsing question
Posted by: ridgerunnersjw - Oct-06-2020, 12:40 AM - Forum: General Coding Help - Replies (3)

I have the following :

Output:
b'011;005;080;'
What is the best way to parse this to remove all and get 005 (middle term)?

Print this item

  chr codes
Posted by: JarredAwesome - Oct-05-2020, 11:50 PM - Forum: General Coding Help - Replies (3)

anyone know where I can find the code to get a superscript 2?

Thanks

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  If I open a file write or... 1 hour ago Pedroski55 bowlofred General Codin...
  a function to watch files Yesterday, 05:21 Skaperen Skaperen News and Disc...
  python re.finditer return... Yesterday, 02:57 arbiel Pedroski55 General Codin...
  Exponential Number Conver... 01-09, 20:47 Tuurbo46 DeaD_EyE General Codin...
  Possible bug found, pleas... 01-08, 16:31 Hassher alexajames General Codin...
  How to put my game loop i... 01-08, 12:47 temlotresid6 MarkHenry Game Developm...
  Code failing to ask input... 01-08, 06:35 Phoenix_Narukami perfringo Homework
  sorting a lisr of file pa... 01-07, 07:13 Skaperen OtiliaGen News and Disc...
  Data Science 01-04, 10:20 Oshadha OtiliaGen Data Science
  Merge video with subtitle... 01-02, 12:32 Pavel_47 OtiliaGen General Codin...
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
Most views
  The best Prog... 580739
  Tutorial Requ... 522282
  Web Scraping ... 442915
  New Users Int... 388147
  Newbie with P... 387140
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+ 12117
buran 8197
snippsat 7399
deanhystad 6921
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
alexfox Yesterday
zalexisshulzeo8879 Yesterday
SUMIATI Yesterday
starboy25 Yesterday
zabenjamitop8877 01-10

User Panel Messages

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