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,275
» Latest member: cruisesfares
» Forum threads: 38,788
» Forum posts: 175,861

Full Statistics

Online Users
There are currently 38 online users.
» 0 Member(s) | 35 Guest(s)
Facebook, Bing, Google

Latest Threads
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
9 hours ago
» Replies: 1
» Views: 83
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Yesterday, 06:47 PM
» Replies: 2
» Views: 152
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Yesterday, 04:13 PM
» Replies: 5
» Views: 3,078
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-17-2025, 10:27 PM
» Replies: 3
» Views: 205
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Nov-17-2025, 11:47 AM
» Replies: 4
» Views: 192
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Nov-17-2025, 08:44 AM
» Replies: 2
» Views: 144
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 197
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 368
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 82
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 387

 
  server selects Runners from list and sends model
Posted by: alex80 - Sep-05-2020, 11:21 AM - Forum: General Coding Help - Replies (2)

My goal is the server selects the number of runners from a list list1=[7, 9, 5, 0, 8] instead of integer value (5) to send to those runners only (7, 9..... More

Print this item

  ValidationError doesn't get printed in my web
Posted by: MarcJuegos_YT - Sep-05-2020, 10:04 AM - Forum: Web Scraping & Web Development - Replies (1)

I've been learning django for two weeks now and I'm currently learning raising forms.Errors such as forms.ValidationError.
Here's the code I've writ..... More

Print this item

  question on tkinter canvas PhotoImage
Posted by: gr3yali3n - Sep-05-2020, 09:50 AM - Forum: GUI - Replies (1)

I want to put an image in a window above the buttons.
but the window is blank where the canvas is supposed to be.?

[python]
from tkinter import *
fro..... More

Print this item

  Working With Python 3 Lists | Learn By Examples
Posted by: CodeItBro - Sep-05-2020, 09:37 AM - Forum: Tutorial Requests and Submissions - Replies (1)

Hi, I recently wrote a tutorial on Python 3 lists where you can learn by examples.

Do..... More

Print this item

  MIDI FILES TEMPO - MIDO
Posted by: Tetsuo30 - Sep-05-2020, 08:23 AM - Forum: General Coding Help - Replies (9)

Hi, i try to code a simple midi file looper with mido library on raspberry pi.

Here the simple code that play the loop 4 times

[python]
outpor..... More

Print this item

  General Listbox question.
Posted by: Milfredo - Sep-05-2020, 08:09 AM - Forum: General Coding Help - Replies (4)

I can not find any videos or text telling me how to take a listbox item and place the text into a variable when user selects an item in the Listbox.
..... More

Print this item

  Help! Functions
Posted by: bwdu - Sep-04-2020, 10:22 PM - Forum: General Coding Help - Replies (3)

Hi everyone! I am trying to create an English Thesaurus which the user is going to write an word as input and get the corresponding meaning, also if t..... More

Print this item

  Collision in not happening
Posted by: onizuka - Sep-04-2020, 09:23 PM - Forum: Game Development - Replies (3)

I have a collision not working .The walls are draw, but not the collision.

[python]import pygame
from Settings import *
from game import *
class Play..... More

Print this item

  Taking serial data to perform key.press functions
Posted by: ausbollinger13 - Sep-04-2020, 09:11 PM - Forum: General Coding Help - Replies (1)

I am trying to take an IMU's data via serial port to press arrow keys to be able to play a game with the use of an accelerometer, gyroscope, and magne..... More

Print this item

  Why this pycharm warning for argparse formatter_class value?
Posted by: pjfarley3 - Sep-04-2020, 09:10 PM - Forum: General Coding Help - Replies (2)

The below script runs just fine from the command line, but pycharm complains that the formatter_class value in the call to argparse.ArgumentParser is ..... More

Print this item

  if statement not working
Posted by: g0g0g1g - Sep-04-2020, 08:32 PM - Forum: Homework - Replies (2)

if i enter random gibberish it still runs the code as if i entered one of the acceptable names I.E. my code carries out the first if statement, despit..... More

Print this item

  [Tkinter] Text Upload
Posted by: LearningLittlebyLittle - Sep-04-2020, 07:45 PM - Forum: GUI - No Replies

I have an Ubuntu OS, and I am trying to create a GUI to display all the text files in the directory. It should have buttons for each text files, and e..... More

Print this item

  Opening and closing Mac applications and files
Posted by: Nickd12 - Sep-04-2020, 07:16 PM - Forum: General Coding Help - Replies (5)

So I've been trying to open and close Mac OS. applications and files with python but have had little to no success can anyone provide me with any clue..... More

Print this item

  Text Adventure / RPG in Pure Python
Posted by: MIPython - Sep-04-2020, 05:46 PM - Forum: Tutorial Requests and Submissions - Replies (2)

Greetings everybody, I've been motivated lately to work on a long time project of mine. A text adventure /RPG, in pure Python. I've refactored this..... More

Print this item

  appending variabl a URL for requests.post step
Posted by: duckredbeard - Sep-04-2020, 05:27 PM - Forum: General Coding Help - Replies (3)

I use one of my RPis for monitoring my fridge temp. I currently have LEDs lit to indicate a good or bad condition. I also get a push notification wh..... More

Print this item

  JupyterLab Dictionary Content Output Format
Posted by: Ourkid123uk - Sep-04-2020, 02:18 PM - Forum: General Coding Help - No Replies

Hi,

Brand new to Python and this my first question on the forum (please be gentle Rolleyes)


I have defined a dictionary with separate key..... More

Print this item

  Help with knn
Posted by: Bhavika - Sep-04-2020, 11:17 AM - Forum: General Coding Help - Replies (1)

These are my k values and their corresponding accuracy_score.
k = 3 --> 95.2127659574468
k = 4 --> 96.27659574468085
k = 5 --> 95.74468085106383..... More

Print this item

  Compiling on win10
Posted by: ebolisa - Sep-04-2020, 10:47 AM - Forum: General Coding Help - Replies (1)

Hi,

I'm trying to compile a test.py file on Windows 10 but the compiler cannot find the module Cython when it's installed.
I ran the cmd terminal ..... More

Print this item

  space animation
Posted by: space_cat - Sep-04-2020, 10:16 AM - Forum: GUI - Replies (1)

i'm trying to make a logo, with a background which is black, and stars moving across it (parralel to the x axis, in different constant y values). i th..... More

Print this item

  <while> cycle is not interrupted when using the <random>module
Posted by: ShityCoder - Sep-04-2020, 07:17 AM - Forum: General Coding Help - Replies (3)

Hello everyone, idea to count how many attempts module random takes before <==> to original string
unfortunatelly <while> not interrupted((((
[pytho..... More

Print this item

  Auto row increment code
Posted by: codesearcher - Sep-04-2020, 05:53 AM - Forum: Data Science - Replies (2)

Hi All, I have been given the data

Date count
1/1/2020 1
2/1/2020 5
4/1/2020 10
6/1/2020 15

Here i need a python code..... More

Print this item

  starting python from windows command prompt
Posted by: MaartenRo - Sep-04-2020, 04:36 AM - Forum: General Coding Help - Replies (4)

Hi,

I am trying to open python from the windows command prompt. If i want to go to the map that includes the python -8.3.5 file by typing dir user ..... More

Print this item

  Cannot redirect print to a file
Posted by: tester_V - Sep-04-2020, 12:02 AM - Forum: General Coding Help - Replies (3)

Hi,
I hope I'm not overstaying my welcome here. Wink
I'm trying to redirect a print statement to a file with no luck.
I have no errors, just n..... More

Print this item

  matching a row from 2 seperate dataframes and minimg a column
Posted by: randor - Sep-03-2020, 08:57 PM - Forum: Data Science - No Replies

Hello, ok, I have 2 dataframes, dataframe client is a master dataframe and dataframe aca is a partial list.
I need to match each item in DF aca to D..... More

Print this item

  Gnome GUI with glade
Posted by: ways - Sep-03-2020, 07:17 PM - Forum: GUI - No Replies

Hi

I'm trying to get into Gnome GUI development. I've created a project in Builder and have a basic UI. My problem is getting access to the widgets..... More

Print this item

  "Not callable" (probably a very basic question, task 1 in a course)
Posted by: kwiide - Sep-03-2020, 06:02 PM - Forum: Homework - Replies (2)

Hi
(Sorry if this kind of questions are not allowed, tried to scroll trough the forums without finding an answer to this problem my son is having in h..... More

Print this item

  How a Mac OS software can restart itself with admin permission in Python 3.7?
Posted by: Formationgrowthhacking - Sep-03-2020, 05:29 PM - Forum: General Coding Help - No Replies

**Environment**

Python 3.7

Mac OS Catalina 10.15

**Problem**


I am developing a software in python. I would like to distrib..... More

Print this item

  Fetch Oracle DB rows & print it in HTML file with table's col headers in table format
Posted by: tssr_2001 - Sep-03-2020, 04:41 PM - Forum: General Coding Help - Replies (1)

Hi All,

I am new to python. I am using Python 3.6 in Spyder on Windows OS.

Can you please guide on how to achieve the below one's, I need to fet..... More

Print this item

  ValueError: time data 'None' does not match format '%Y-%m-%dT%H:%M:%S.%f'
Posted by: rajesh3383 - Sep-03-2020, 04:01 PM - Forum: General Coding Help - Replies (4)

For the node 'TransactionDate' i have a logic before updating it for policy"POL000002NGJ". The logic i am trying to implement is If existing 'Transact..... More

Print this item

  Python MySQL
Posted by: ogautier - Sep-03-2020, 03:54 PM - Forum: General Coding Help - No Replies

Hello,

Actually I'm using Centos 8 + Python 3.6.8 and I want to know if there is a way to statr MySql Server from Python?

Best Regards,

Orlan..... More

Print this item

  how to render TAB in pygame
Posted by: lightframe109 - Sep-03-2020, 01:52 PM - Forum: Game Development - Replies (1)

Hi,

I'm using pygame to build a screen, which has some system information on it.
The text I am printing on screen contains a TAB (\t).
When I run..... More

Print this item

  How to make a list of values from a dictionary list?
Posted by: faryad13 - Sep-03-2020, 01:27 PM - Forum: General Coding Help - Replies (2)

Hello Guys
Good day

I have a list with dictionaries inside:
L=[{'X': 2593.75}, {'X': 2457.42}, {'X': 2593.75}, {'X': 2457.42}] <class 'list'>

..... More

Print this item

  Trouble with converting list , dict to int values!
Posted by: faryad13 - Sep-03-2020, 11:04 AM - Forum: General Coding Help - Replies (7)

Hello guys
good day

I have a list of 4 points with x values:
[{'X': 2593.75}, {'X': 2457.42}, {'X': 2593.75}, {'X': 2457.42}] <class 'list'>..... More

Print this item

  Python prediction on historical data and/or external factors.
Posted by: pyrooky - Sep-03-2020, 08:59 AM - Forum: Homework - Replies (1)

Hi all,

I am posting for the first time to ask for guidance and i believe this forum section to be the most appropriate for my request.

I have b..... More

Print this item

  Trouble with reading csv file and putting it into a file
Posted by: Milfredo - Sep-03-2020, 08:17 AM - Forum: General Coding Help - Replies (3)

I am reading a csv file. I am then putting it into a dictionary and then trying to put the Dictionary into a list. Problem is, in the file I am readi..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  link variable to exc bloc... 9 hours ago Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... Yesterday, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python Yesterday, 16:13 dutch mamta25 News and Disc...
  Graph Interpolate Difficu... 11-17, 22:27 Tuurbo46 deanhystad General Codin...
  [SOLVED] Access keys and ... 11-17, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... 11-17, 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...
  [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...
Most views
  The best Prog... 579150
  Tutorial Requ... 511535
  Web Scraping ... 442093
  Newbie with P... 386185
  New Users Int... 378750
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 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
cruisesfares Today
SavingSquirrel199835 Yesterday
Astrobert Yesterday
DataScientist071 Yesterday
aminrony1999 11-17

User Panel Messages

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