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) | 24 Guest(s)
Bing, Applebot, AOL, Facebook

Latest Threads
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 10:27 PM
» Replies: 3
» Views: 171
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Yesterday, 11:47 AM
» Replies: 4
» Views: 158
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: 116
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 365
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

 
  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

  Problem: Retrieving Form data
Posted by: PythonDev - Oct-05-2020, 10:52 PM - Forum: General Coding Help - Replies (3)

Hi,
I'm using CGI to interact with form fields as shown in the example below:

[python]
# Function -> Main method that receives parameters that ha..... More

Print this item

  3.9.0 released today
Posted by: Larz60+ - Oct-05-2020, 09:51 PM - Forum: News and Discussions - No Replies

Python 3.9.0 was released today:
See the release notes here.

Print this item

  calculating and accumulating scores
Posted by: szap1977 - Oct-05-2020, 09:31 PM - Forum: General Coding Help - Replies (2)

I am trying to accumulate the numbers from the question and then print a reply based on whether the total is above or below 7, but I keep getting synt..... More

Print this item

  using 'while loop' output going into infinite loop...
Posted by: amitkb - Oct-05-2020, 08:35 PM - Forum: General Coding Help - Replies (2)

I am learning while loop. Below code is going into infinite loop when displaying the output. Please help.


[python]prompt = input("Please share yo..... More

Print this item

  Scroll Down Post Instagram Likes
Posted by: rmiguelantunes74 - Oct-05-2020, 07:38 PM - Forum: Web Scraping & Web Development - No Replies

Hi,

I need help, i have this code to extract my follows with scroll down
[python]
# Scroll Down to Verify How Many Followers
fBody = dr..... More

Print this item

  Complex X Tick Interval
Posted by: JoeDainton123 - Oct-05-2020, 07:27 PM - Forum: General Coding Help - No Replies

Hi all

I was hoping someone could help me solve an issue regarding setting the x tick interval for a plot.

I have a very large data set, the x v..... More


Attached Files

Thumbnail(s)
   
Print this item

  How to solve equations, with groups of variables and or constraints?
Posted by: ThemePark - Oct-05-2020, 07:22 PM - Forum: General Coding Help - No Replies

I need a way to formulate a series of equations that are about finding at least one combination of groups of variables, that added together, equal a c..... More

Print this item

  code not working, NameError: name 's' is not defined
Posted by: ridgerunnersjw - Oct-05-2020, 06:39 PM - Forum: General Coding Help - Replies (4)

Good afternoon....
I have a serial device that I am able to communicate with. I decided to put the code into a class module and build it out. I am ..... More

Print this item

  Grid Line not appearing at 0
Posted by: JoeDainton123 - Oct-05-2020, 04:40 PM - Forum: General Coding Help - Replies (1)

Hello all

I have a strange problem when making sub plots.

I have 15 x sub plots in a figure, however all but 1 of the sub plots does not have a ..... More


Attached Files

Thumbnail(s)
   
Print this item

  rdkit installed but not imorted
Posted by: Sigurd - Oct-05-2020, 03:37 PM - Forum: General Coding Help - Replies (11)

Output when I try to run my program:

import rdkit
ModuleNotFoundError: No module named 'rdkit'

Process finished with exit code 1

Print this item

  Rainfall parsing script
Posted by: Tadey_10 - Oct-05-2020, 03:01 PM - Forum: General Coding Help - Replies (1)

Hi,

Asking to see if there are existing phyton scripts to parser rainfall data. The goal is to define the start and end of a rainfall event and com..... 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... 579114
  Tutorial Requ... 511316
  Web Scraping ... 442068
  Newbie with P... 386136
  New Users Int... 378475
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