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,266
» Latest member: tlandr02
» Forum threads: 38,788
» Forum posts: 175,853

Full Statistics

Online Users
There are currently 32 online users.
» 0 Member(s) | 28 Guest(s)
Bing, AOL, Facebook

Latest Threads
Access keys and values fr...
Forum: General Coding Help
Last Post: buran
11 hours ago
» Replies: 3
» Views: 83
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 132
PermissionError: [Errno 1...
Forum: GUI
Last Post: deanhystad
Nov-15-2025, 02:42 PM
» Replies: 1
» Views: 85
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 01:54 PM
» Replies: 1
» Views: 81
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 334
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 57
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 88
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 320
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 176
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 281

 
  requests_futures.sessions retry list of HTTP 429
Posted by: Johanoosterwaal - Nov-20-2020, 09:23 PM - Forum: General Coding Help - No Replies

Got this python code that works great sending parallel http requests. When i get a HTTP 429 (Too Many Requests) it is appended to a list. The question..... More

Print this item

  sublime & intellisence
Posted by: luke83 - Nov-20-2020, 08:26 PM - Forum: General Coding Help - No Replies

Hello Guys,
New coders stupid question, using sublime as my IDE, i THOUGHT i had sublime setup correctly for Python however as you can see from the ..... More

Print this item

  Creating table in MySQL db with decimal number issue
Posted by: dangermaus33 - Nov-20-2020, 07:52 PM - Forum: General Coding Help - Replies (7)

New coder here. I am working on code to create a simple MySQL table and I want a number value to have decimals. I used the DECIMAL data type and speci..... More

Print this item

  Python reading variable in another py file wrongly
Posted by: _vertig0 - Nov-20-2020, 06:48 PM - Forum: General Coding Help - Replies (2)

I have 2 .py files below (Both shortened and include the problem sections):
engine.py
[python]import events

running = False;

def start():
..... More

Print this item

Big Grin Beginner - Assistance please
Posted by: Elippsis007 - Nov-20-2020, 02:22 PM - Forum: General Coding Help - Replies (4)

Hello!

I am really struggling to understand why I am getting a return on my interpreter 3 lines for my ['yes, 'no']
prompt.

Would someone kindl..... More

Print this item

  Python Substring
Posted by: muzikman - Nov-20-2020, 01:32 PM - Forum: General Coding Help - Replies (4)

Greetings,

I am new to the Python language; however, I have experience in other OOP languages. I have a question based on Python substring syntax...... More

Print this item

Photo [Solved] How do I position 'token' in JavaScript in search box?
Posted by: cheers100 - Nov-20-2020, 12:44 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello,

I'd like to know how I can position 'token' in JavaScript code with keyword-'toke' in search box. Now I have to check each line to locate wh..... More

Print this item

  [gtk] How to modify a part of a text of a gtk textview
Posted by: cyrille - Nov-20-2020, 10:00 AM - Forum: GUI - Replies (1)

I learn GTK with Python and I've a problem with the widget texview. I'd like to changed / modify specific part of a text in a buffer (textview).

Fo..... More

Print this item

  Single digits seem to be greater than double digits
Posted by: Frosty_GM - Nov-20-2020, 09:30 AM - Forum: General Coding Help - Replies (4)

Hello, I am new to Python and I've been playing around with the 'Hello World' script that everyone probably starts with

I wanted to see if i could ..... More

Print this item

  sorting one by one
Posted by: 3Pinter - Nov-20-2020, 08:03 AM - Forum: General Coding Help - Replies (4)

I'm going to explain what I want as simple as possible (brainfarts over here atm),

You probably know the game mikado, where you release a bunch of ..... More

Print this item

  compresslevel vs. preset
Posted by: Skaperen - Nov-20-2020, 03:21 AM - Forum: News and Discussions - Replies (2)

gzip.open() and bz2.open() both have a keyword argument compresslevel= to set the compression level while lzma.open() uses preset= for t..... More

Print this item

  default mode in compression modules
Posted by: Skaperen - Nov-20-2020, 03:12 AM - Forum: News and Discussions - No Replies

lzma.open() and gzip.open() both show a default for mode of 'rb' but bzip2 shows a default of 'r'. given that the effect is the same since all 3 open..... More

Print this item

  Import error
Posted by: Beingcode - Nov-20-2020, 02:57 AM - Forum: General Coding Help - No Replies

I am getting an import error, when I import any python module and library

The following error shown by IDE-

from pygame.base import * # pylint:..... More

Print this item

  pls help with this assignment. basic into to python class
Posted by: valerie_thomas - Nov-20-2020, 02:18 AM - Forum: General Coding Help - Replies (2)

working on visual studio code, python 3.8.6
i want to learn so feel free to just leave advice and no solution.
1.This is a simplified gas stat..... More

Print this item

  Pyspark SQL Error - mismatched input 'FROM' expecting <EOF>
Posted by: Ariean - Nov-20-2020, 01:37 AM - Forum: General Coding Help - Replies (3)

Hello All,
I am executing a python script in AWS EMR (Linux) which executes a sql inside or below snippet of code and erroring out. May i please know..... More

Print this item

  detecting input that is not compressed
Posted by: Skaperen - Nov-20-2020, 12:19 AM - Forum: News and Discussions - No Replies

are any of the formats in lzma able to detect input data that is not compressed, or at least data it cannot recognize as compressed?

Print this item

  Formatting json cleanly
Posted by: Daring_T - Nov-19-2020, 10:39 PM - Forum: General Coding Help - No Replies

Daring_T here,
I have a dictionary that appends to a json file, and it outputs on one line.
Is there a way to cleanly format the json data like ppri..... More

Print this item

  Serializable
Posted by: JarredAwesome - Nov-19-2020, 10:24 PM - Forum: General Coding Help - Replies (4)

Hey everyone,

I am working on making a custom controller for a BLE device using a rasp-pi and python.

The app that comes with my BLE device is w..... More

Print this item

  Saving a download of stopwords (nltk)
Posted by: Drone4four - Nov-19-2020, 08:51 PM - Forum: General Coding Help - Replies (1)

I’ve got a basic Django project. One feature I am working on counts the number of most commonly occurring words in a .txt file, such as a large public..... More

Print this item

  How to plot level surfaces
Posted by: schniefen - Nov-19-2020, 07:08 PM - Forum: General Coding Help - No Replies

This is a nice introduction on how to plot level curves given a functi..... More

Print this item

  trying to display custom error message on form
Posted by: mp3909 - Nov-19-2020, 06:35 PM - Forum: Web Scraping & Web Development - No Replies

Hi,

I am trying to display a custom error message when the user enters a wrong password in a login form on my django app.
Currently, when the user..... More

Print this item

  AI based copywriter seeks help
Posted by: ki_entwicklung - Nov-19-2020, 06:14 PM - Forum: Bar - No Replies

Dear group members,

my AI solution UNAIQUE.NET supports researching content and automatically rewriting it using clever copywriting.
In about 5-1..... More

Print this item

  Help with User Interface design code
Posted by: ai_masti - Nov-19-2020, 05:58 PM - Forum: General Coding Help - No Replies

Hello,
I want to design user interface for the following Python game ..... More

Print this item

  2d Array adds last element to entire list
Posted by: waiteup - Nov-19-2020, 05:55 PM - Forum: General Coding Help - Replies (2)

Good Afternoon!

First time poster!

I keep running into this simple problem when trying to fill my 2d array from my SQL. For some reason it will not..... More

Print this item

  showing return from button on main screen
Posted by: blazejwiecha - Nov-19-2020, 05:02 PM - Forum: GUI - Replies (4)

Hello,
first sorry for English and code, I am beginner :)
So , the problem I stuck with is that I wish to execute buttons on the screen of tkinter. ..... More

Print this item

  Adding keys and values to a dictionary
Posted by: giladal - Nov-19-2020, 03:49 PM - Forum: General Coding Help - Replies (3)

Hey Guys.

Trying to add value, key in this order to a dictionary.
Checking with the debugger it shows that index 0 is added to new_dict, and then ..... More

Print this item

  The jack output on Python
Posted by: Galtair - Nov-19-2020, 03:10 PM - Forum: General Coding Help - No Replies

Hello, I'm a french student and I work on a sound program with python. I an using a raspberry. I want to play sound thanks to python but it doesn't wo..... More

Print this item

  Unable to capture all images of a multipage TIFF file in a merge
Posted by: bendersbender - Nov-19-2020, 03:09 PM - Forum: General Coding Help - No Replies

Hello!

I'm new to Python and I'm using the code below to merge TIFF files together. In a folder, it reads an index file to determine which TIFF fil..... More

Print this item

  Explain a piece of code
Posted by: SuuzyQ04 - Nov-19-2020, 02:44 PM - Forum: Homework - Replies (1)

Hi there,

Could someone please explain very clearly what the following piece of code is doing?

[python]def question_set(X):
qset = [[] for ..... More

Print this item

  combining netcdf data
Posted by: sebastiansieloff - Nov-19-2020, 02:23 PM - Forum: General Coding Help - Replies (1)

Hi all,

I would like to combine netcdf files from the copernicus platform (climate data, i.e. NDVI and soil moisture). The files are provided in fo..... More

Print this item

  Help with my router.
Posted by: Pocket_Sand - Nov-19-2020, 01:37 PM - Forum: Networking - Replies (2)

Hey everyone I have been getting into python recently and I have an issue with my router's username and password. I forgot my username and password bu..... More

Print this item

  Set form element from javascript
Posted by: GrahamL - Nov-19-2020, 11:59 AM - Forum: GUI - Replies (1)

Hi
I am struggling to use javascript to update an element on my form when an item is clicked on a select list
In the following code I can set the v..... More

Print this item

  PyInstaller on Mac ... does not work easily?
Posted by: mu234 - Nov-19-2020, 11:36 AM - Forum: General Coding Help - Replies (10)

Hello All!

I am new to this forum, however, I like the forums very much because I learn :)

I am having a problem with a pyinstaller, somehow, I ..... More

Print this item

  pop methods
Posted by: Skaperen - Nov-19-2020, 06:10 AM - Forum: News and Discussions - Replies (4)

/of all the types/classes that have a pop() method, it seems only dict/pop() implements an optional 2nd argument for default. why is it limited to jus..... More

Print this item

  Help with DNS queries
Posted by: RedDirt - Nov-19-2020, 03:27 AM - Forum: Networking - Replies (1)

In my work I often have to confirm whether devices are in or not in DNS, which, obviously, usually includes using nslookup. Since the list of ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Access keys and values fr... 11 hours ago Winfried buran General Codin...
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  PermissionError: [Errno 1... 11-15, 14:42 Tuurbo46 deanhystad GUI
  Graph Interpolate Difficu... 11-15, 13:54 Tuurbo46 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... 579048
  Tutorial Requ... 511033
  Web Scraping ... 442046
  Newbie with P... 386095
  New Users Int... 378238
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 6913
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
tlandr02 Yesterday
Rerus3700 Yesterday
pas88 Yesterday
aanthonymaaleyo3938 Yesterday
chuhlowe 11-15

User Panel Messages

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