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,256
» Latest member: TomTMH
» Forum threads: 38,782
» Forum posts: 175,831

Full Statistics

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

Latest Threads
New to python and coding
Forum: Homework
Last Post: jefsummers
1 hour ago
» Replies: 6
» Views: 166
Please guide me to comple...
Forum: General Coding Help
Last Post: pbkurd
2 hours ago
» Replies: 0
» Views: 28
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
3 hours ago
» Replies: 6
» Views: 94
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
9 hours ago
» Replies: 6
» Views: 338
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 07:26 PM
» Replies: 2
» Views: 105
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 10:11 AM
» Replies: 6
» Views: 235
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 365
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 141
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,639
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 243

 
  screen.fill command wont change color of background
Posted by: friska - May-14-2021, 05:46 PM - Forum: Game Development - Replies (5)

Subject explains it all. Any help greatly appreciated.
Code:
[python]import pygame

pygame.init()
# create screen
screen = pygame.display.set_mo..... More

Print this item

  py2app deployment version
Posted by: Rubberduck - May-14-2021, 05:35 PM - Forum: General Coding Help - No Replies

Hi there,
I have a little problem by creating a python app with py2app. It confuses me then if I create an Alias (standalone version) it all works v..... More

Print this item

  [Expired] Complete Python 3 course, FREE for the next 2 days
Posted by: Yoriz - May-14-2021, 05:30 PM - Forum: News and Discussions - Replies (2)

[quote="https://www.reddit.com/r/Python/comments/nc9s8e/complete_python_3_course_free_for_the_next_2_days/?utm_source=share&utm_medium=ios_app&utm_nam..... More

Print this item

  How to get specific TD text via Selenium?
Posted by: euras - May-14-2021, 08:26 AM - Forum: Web Scraping & Web Development - Replies (3)

I try to scrape a table and read specific TD in Table in each row. But for some reasons it fails at the last step. What I'm doing wrong?

[python]co..... More

Print this item

  Help please
Posted by: Sasnya11 - May-14-2021, 07:49 AM - Forum: General Coding Help - Replies (1)

NameError : name 'edit1' is not defined

Print this item

  The Open Open Open Source Project
Posted by: GareBearH - May-14-2021, 03:21 AM - Forum: Bar - Replies (1)

Hey, my name is GareBearH, I'm not very advanced in python coding and I only recently joined this forum. I joined it however because I have a fun litt..... More

Print this item

  SQLAlchemy ORM question
Posted by: Larz60+ - May-13-2021, 10:44 PM - Forum: General Coding Help - Replies (2)

  • I have written python software that finds and downloads all of the csv files at a particular ftp location.
  • I then programatically creat..... More

Print this item

  Nested dictionary acting strange
Posted by: Pedroski55 - May-13-2021, 09:55 PM - Forum: General Coding Help - Replies (2)

I'm trying to collate data from a little survey. The data is in a .csv, 14 questions, each question 7 possible answers.

I make a dictionary:

[py..... More

Print this item

  Filter Excel and Convert an Excel File
Posted by: giddyhead - May-13-2021, 06:31 PM - Forum: General Coding Help - No Replies

Hello everyone,

The following is my attempt to filter the last modified xls file on a ftp server and convert that file to a csv on the same server...... More

Print this item

  Input validation for nested dict and sorting list of tuples
Posted by: ranbarr - May-13-2021, 03:14 PM - Forum: Homework - Replies (3)

Hi everyone,
First of all I want to say that I really appreciate this forum and Ive learned alot since I joined!
Im trying to write a func that iclu..... More

Print this item

  Better way to append frames from a video to multiple lists?
Posted by: Balaganesh - May-13-2021, 07:37 AM - Forum: General Coding Help - No Replies

Hi, I am trying to split a video based on the index and value stored in a text file. The index represents the frame number and value represents frame ..... More

Print this item

  Best way to process large/complex XML/schema ?
Posted by: MDRI - May-13-2021, 01:44 AM - Forum: General Coding Help - Replies (7)

Best way to process large/complex XML/schema ?
==============================================

Thanks for reviewing this thread.

I like to figur..... More

Print this item

  Helps with reading csv file - 3 methods
Posted by: hhchenfx - May-13-2021, 01:37 AM - Forum: General Coding Help - Replies (4)

Hi Everyone,
I try 3 different ways to read csv data and only 1 works.
Can you please help to fix the not working code?
Thank you so much.
HHC

..... More

Print this item

  Unable to send/reply PM messages?
Posted by: MDRI - May-13-2021, 01:31 AM - Forum: Board - Replies (6)

I am not able to send PM messages. I am getting.

You do not have permission to access this page. This could be because of one of the following reas..... More

Print this item

  How do I split a dataset into test/train/validation according to a particular group?
Posted by: 69195Student - May-12-2021, 07:56 PM - Forum: General Coding Help - Replies (1)

I have written the following code to split my dataset into a training, validation and test dataset. The dataset consists of multiple audio files from ..... More

Print this item

  Calculating accuracy on RNN-LSTM model
Posted by: hobbyist - May-12-2021, 01:27 PM - Forum: General Coding Help - No Replies

Hello,

How can I calculate the accuracy in a RNN-LSTM neural network?
Also when testing my model with either epoch = 1 , or epoch = 40 the result of ..... More

Print this item

  Run CMD Command In Python Script
Posted by: shantanu97 - May-12-2021, 01:19 PM - Forum: General Coding Help - Replies (2)

I have a couple of batch command and also wanted to execute sql query commands like sqlcmd using Python script.

[python]sqlcmd -S catalyst.databas..... More

Print this item

  combining dicts into one dict when not all keys are in both dicts
Posted by: ranbarr - May-12-2021, 12:31 PM - Forum: Homework - Replies (5)

Hi,
Im trying to combine two different dicts into one dict, however the len of dict1 is greater then dict2 and I only need the keys that exist in bot..... More

Print this item

  How to add run in paragraph using python-docx?
Posted by: toothedsword - May-12-2021, 10:55 AM - Forum: General Coding Help - No Replies

I want to put runs in one paragraph to another using , so I write code like this: But it does not work. How should I change this code?

[python]
fr..... More

Print this item

  About free of charge libraries
Posted by: Mahzinho93 - May-12-2021, 08:04 AM - Forum: General Coding Help - Replies (1)

Hello, how are you? I am Marcos, a new-coming programmer mainly with Python (marvelous language for computing general tasks) and I want to know: I ins..... More

Print this item

  Input function cutting off commands at spaces.
Posted by: throwaway34 - May-12-2021, 05:43 AM - Forum: General Coding Help - Replies (3)

Hello, Ive Posted on here about this script before and I had made some progress but now I have ran aground once again and hopefully you can help me. F..... More

Print this item

  Why recursive function consumes more of processing time than loops?
Posted by: M83Linux - May-11-2021, 11:42 PM - Forum: General Coding Help - Replies (9)

Hi All,

Why recursive function consumes more processing time than loops?
And, Is it cumbersome for the processor?

[python]
def fibonacci(n):
if ..... More

Print this item

  Problems with inserting images into an Excel File
Posted by: FightingFarmer - May-11-2021, 11:25 PM - Forum: General Coding Help - Replies (2)

When I add an image to the excel file, the excel file has unreadable content.

The excel file and the png file are both valid files.

openpyxl ..... More

Print this item

  tkinter - update/refresh treeview
Posted by: snakes - May-11-2021, 09:32 PM - Forum: GUI - Replies (5)

I've got a treeview widget that is supplied data from an sql database.

I've been trying all day to make it so when I add a row to the database tha..... More

Print this item

Exclamation getting a syntax error and i don't know why
Posted by: ilikedofs - May-11-2021, 09:08 PM - Forum: General Coding Help - Replies (10)

I've looked at the whole code and can't see what's wrong. please help me it's giving me a head ache!
[python]
food = ['donuts', 'pancakes', 'bacon', '..... More

Print this item

  How to create Asynchronous API using Flask
Posted by: srivastavavyom1991 - May-11-2021, 07:01 PM - Forum: Tutorial Requests and Submissions - No Replies

I created a tutorial on how to make Asynchronous API using Flask and Async.io:

..... More

Print this item

  tkinter lightswitch
Posted by: menator01 - May-11-2021, 06:52 PM - Forum: Code sharing - Replies (1)

Just wanted to share a little program using tkinter and images in hoping maybe it will help someone.

[video=youtube]https://youtu.be/GeD6xdYLRmY[/v..... More

Print this item

  Object inheriting from two classes?
Posted by: Melendroach - May-11-2021, 02:32 PM - Forum: General Coding Help - Replies (3)

So let's say I have 10 'roles' and 10 'races', I'd like to make each of them into a class.
Every character (player, npc, whatever) has a role and als..... More

Print this item

Sad Starting first code
Posted by: Ricky - May-11-2021, 12:56 PM - Forum: General Coding Help - Replies (4)

Hi, I've downloaded and been through the topics.
I've now typed - once I opened EDLE. print ("Hisssssss...") Saved As then OPEN the file and clicked..... More

Print this item

  I cannot delete and the elements from the list
Posted by: quest - May-11-2021, 09:17 AM - Forum: General Coding Help - Replies (4)

Hello,
I am trying to run this code. The idea is to compare all elements in the list with another single element. If they are same, process and delet..... More

Print this item

Bug Djongo (mongoDb) - Django rest framework Problem with search on JsonFields
Posted by: grzybekrafal - May-11-2021, 09:04 AM - Forum: General Coding Help - No Replies

I have a problem with filtering on JsonFIleds in Django REST API on MongoDB. I use djongo to connect with MongoDB.

Every time I get this error:

..... More

Print this item

  AttributeError: 'Node' object has no attribute 'insert'
Posted by: Anldra12 - May-11-2021, 07:58 AM - Forum: General Coding Help - Replies (4)

Quote:Get an error while insert a node to implement tree after insert node values what are missing and where
[error]AttributeError ..... More

Print this item

  Are You Suggesting That Coconuts Migrate?
Posted by: perfringo - May-11-2021, 07:37 AM - Forum: News and Discussions - No Replies

Quote:Please. This is supposed to be a happy occasion. Let’s not bicker and argue over who killed who…

..... More

Print this item

  function defined inside a function
Posted by: Skaperen - May-11-2021, 12:46 AM - Forum: News and Discussions - Replies (2)

when defining a function inside a function, even deep functions can access variables all the way to the first function. is there any limit to how far..... More

Print this item

  Clickable Rectangles Tkinter Canvas
Posted by: MrTim - May-10-2021, 08:16 PM - Forum: GUI - Replies (4)

Hello there.

I am attempting to bind the left mouse button to a grid of tkinter rectangles. I am trying to execute function clicked() when someone ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding 1 hour ago lary_p jefsummers Homework
  Please guide me to comple... 2 hours ago pbkurd pbkurd General Codin...
  [solved] re.split issue 3 hours ago paul18fr deanhystad General Codin...
  Backward compatibility qu... 9 hours ago yutaozhou noisefloor News and Disc...
  why is the image not show... Yesterday, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... Yesterday, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
Most views
  The best Prog... 578930
  Tutorial Requ... 510193
  Web Scraping ... 441945
  Newbie with P... 385965
  New Users Int... 376820
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+ 12107
buran 8195
snippsat 7388
deanhystad 6909
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
TomTMH Today
pbkurd Today
Gichardaxora Today
cc123 Today
Jessicaadams Today

User Panel Messages

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