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,405
» Latest member: zjamesshtolez6557
» Forum threads: 38,827
» Forum posts: 176,041

Full Statistics

Online Users
There are currently 33 online users.
» 1 Member(s) | 30 Guest(s)
Bing, Google, Pedroski55

Latest Threads
B1 German Pdf
Forum: General Coding Help
Last Post: zjamesshtolez6557
18 minutes ago
» Replies: 0
» Views: 4
Cafe In Berlin Audiobook ...
Forum: General Coding Help
Last Post: Pedroski55
4 hours ago
» Replies: 1
» Views: 44
a function to watch files
Forum: News and Discussions
Last Post: OtiliaGen
Jan-02-2026, 12:38 PM
» Replies: 2
» Views: 202
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Jan-02-2026, 12:32 PM
» Replies: 29
» Views: 15,801
Create dataframe from the...
Forum: Data Science
Last Post: JassicaElla60
Jan-02-2026, 12:31 PM
» Replies: 8
» Views: 3,684
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
Jan-01-2026, 11:52 AM
» Replies: 2
» Views: 196
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
Jan-01-2026, 11:47 AM
» Replies: 2
» Views: 166
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Dec-31-2025, 08:02 PM
» Replies: 6
» Views: 7,210
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 242
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,651

 
  I seem to have two versions of python 3.7.9 installed
Posted by: miner_tom - Nov-21-2020, 07:54 AM - Forum: General Coding Help - Replies (7)

I am not aware of how this happened but the two versions give different results.

When I invoke python the results are

[quote]Python 3.7.9 (defau..... More

Print this item

  Learning Python with a Caesar cipher
Posted by: Drone4four - Nov-21-2020, 06:57 AM - Forum: General Coding Help - Replies (5)

Hi!

I’m learning about Caesar ciphers. I attempted to write my own from scratch some time ago whi[url=https://python-forum.io/thread-31077.html]..... More

Print this item

  Tuple help!
Posted by: chiron - Nov-21-2020, 04:24 AM - Forum: General Coding Help - Replies (12)

Complete beginner to all things programming, let alone python. I'm looking to numerous sources to help me out learning but I'm struggling big time. I ..... More

Print this item

  Dictionary question
Posted by: kam_uk - Nov-21-2020, 02:07 AM - Forum: Homework - Replies (7)

Hey All

I have a dictionary as such

car_dictionary = {
    "Ford" : "Blue",
    "Nissan" : "Red"
}
I want to assign a par..... More

Print this item

  Convert list of numbers to string of numbers
Posted by: kam_uk - Nov-21-2020, 01:50 AM - Forum: Homework - Replies (5)

Hi

I have a list

My_list = [1, 2, 3, 4, 5]
I want to convert each number from an integer to a string.

I would normally us..... More

Print this item

  to call via console a python-programm
Posted by: Liki - Nov-21-2020, 01:10 AM - Forum: General Coding Help - Replies (9)

Hello,

I'm trying to call an in Python frish-written programm zeit_01 via console.
It didn't run. What I did false?:

[img]https://i.imgur.c..... More

Print this item

  How to modify item in dictionary?
Posted by: Winfried - Nov-21-2020, 12:48 AM - Forum: General Coding Help - Replies (7)

Hello,

I'm using the xmltodict module to handle an XML file like a dictionary.

Does Python prevent mo..... More

Print this item

  How to create a linked list and call it?
Posted by: loves - Nov-20-2020, 09:42 PM - Forum: General Coding Help - Replies (12)

I want to create a linked list and insert dummy data to verify it. Please see my code.
[python]class ListNode:
def __init__(self, val=0, next=N..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  B1 German Pdf 18 minutes ago zjamesshtolez6557 zjamesshtolez6557 General Codin...
  Cafe In Berlin Audiobook ... 4 hours ago ajohnswift5108 Pedroski55 General Codin...
  a function to watch files 01-02, 12:38 Skaperen OtiliaGen News and Disc...
  Merge video with subtitle... 01-02, 12:32 Pavel_47 OtiliaGen General Codin...
  Create dataframe from the... 01-02, 12:31 Calab JassicaElla60 Data Science
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
  Sorry Help 01-01, 11:47 BioNanoTech noisefloor General Codin...
  IP address for users 12-31, 20:02 Robots DeaD_EyE Networking
  Opencv findContours Q 12-30, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
Most views
  The best Prog... 580536
  Tutorial Requ... 520563
  Web Scraping ... 442826
  New Users Int... 387085
  Newbie with P... 387046
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 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
zjamesshtolez6557 Today
ajohnswift5108 Yesterday
Lavishcars Yesterday
Jeffreygon Yesterday
JassicaElla60 01-02

User Panel Messages

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