Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,947
» Latest member: Markbel386
» Forum threads: 38,726
» Forum posts: 175,524

Full Statistics

Online Users
There are currently 67 online users.
» 1 Member(s) | 57 Guest(s)
Bing, Applebot, Google, AOL, Twitter, kshahzad1985

Latest Threads
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
7 hours ago
» Replies: 5
» Views: 9,148
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
9 hours ago
» Replies: 0
» Views: 65
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Today, 03:29 AM
» Replies: 2
» Views: 462
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Today, 02:36 AM
» Replies: 0
» Views: 97
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 08:56 PM
» Replies: 9
» Views: 605
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,830
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,139
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,495
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 3,065
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,806

 
  AttributeError: 'NoneType' object has no attribute 'next'
Posted by: loves - Dec-15-2020, 08:56 PM - Forum: General Coding Help - Replies (2)

The question is Given the head of a linked list, remove the nth node from the end of the list and return its head.

My code:
[pyth..... More

Print this item

  Digit recognizer web app with Flask
Posted by: lorenzophys - Dec-15-2020, 07:37 PM - Forum: Code sharing - No Replies

I made a digit recognizer web app using Flask and Tensorflow to train the model. It's my first Flask program, so it's very simple. Apart from python, ..... More

Print this item

  Reading coordinates in tiff images using PyQt
Posted by: hobbyist - Dec-15-2020, 06:40 PM - Forum: GUI - Replies (21)

Hello, I am very new to PyQt. I need to build an application where I should load a .tiff images of UAV/sat (around 400 MB), and when I place somewhere..... More

Print this item

  How to plot intraday data of several days in one plot
Posted by: mistermister - Dec-15-2020, 04:28 PM - Forum: General Coding Help - Replies (3)

Hi, I could need some help for the following task:

I obtained intraday apple stock data for the last 5 days with an interval of 1 minute. The datet..... More

Print this item

  Is rememberme.memory() accurate for recursive structures?
Posted by: Clunk_Head - Dec-15-2020, 02:45 PM - Forum: Data Science - Replies (2)

I'm trying to measure the size of my recursively defined data structures, but I'm getting wildly large results.
Perhaps it's the tool that I'm using ..... More

Print this item

  Singapore Turf Club Results
Posted by: singaporeman - Dec-15-2020, 01:16 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi Guys, I am currently trying to acquire Singapore racing data currently and I am currently entering it in manually which is time consuming to say th..... More

Print this item

  Scraping Data from Singapore Turf Club
Posted by: singaporeman - Dec-15-2020, 01:10 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi Guys, I am currently trying to acquire Singapore racing data currently and I am currently entering it in manually which is time consuming to say th..... More

Print this item

  reading canbus data as hex
Posted by: korenron - Dec-15-2020, 11:58 AM - Forum: General Coding Help - Replies (9)

Hello ,
I have start to work on a small canbus project
which I need to read the data
I have this :
[python]
while True:
message = bus.recv..... More

Print this item

  Change classic loop to TensorFlow tf.while_loop
Posted by: vsl_neuro - Dec-15-2020, 07:55 AM - Forum: Data Science - No Replies

Hello!

I created a neural network for time-series forecasting and I would like to run it on GPU.
So I need to make all my opertations tensor.
Fir..... More

Print this item

  Why do i get these errors?
Posted by: Oshadha - Dec-15-2020, 07:26 AM - Forum: Homework - Replies (17)

Hi I'm just a beginner programmer (13 yr old),
pls help!

So I was half-way through scripting the software, that saves student details in a csv fil..... More

Print this item

Smile Writing to files and using WxPython
Posted by: TheUNOGuy - Dec-15-2020, 07:16 AM - Forum: GUI - Replies (4)

Hello everyone! This is my first post here! I have a problem with wxpython and file handling at the same time...I have made a small text editor and af..... More

Print this item

  Python to build website
Posted by: Methew324 - Dec-15-2020, 05:27 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi, I am currently using the WordPress for my business websites. I am looking for built my own website backend controlling interface using python. Yes..... More

Print this item

  Need help
Posted by: kamui123 - Dec-15-2020, 02:15 AM - Forum: General Coding Help - Replies (3)

Hi all, is there a way to make this code transmit 1 byte without affecting the output?
I am grateful and appreciative anyone could help out.

[pyt..... More

Print this item

  find repeating cycle in iterable results
Posted by: Skaperen - Dec-15-2020, 02:09 AM - Forum: News and Discussions - No Replies

i have an iterable object (not just an iterator). it has a repeating cycle in it, or not. it comes to an end if not. it repeats forev..... More

Print this item

  Creating more than one excel File at once
Posted by: malvarez1976 - Dec-15-2020, 02:04 AM - Forum: Data Science - No Replies

HI. I have the following list:

list = ["Customer2", "Customer2", "Customer3"]

I need to create a new excel file with the name of each element in..... More

Print this item

  Is there a way to move text created by turtle.write()?
Posted by: derekered - Dec-14-2020, 11:07 PM - Forum: General Coding Help - Replies (7)

I'm working on a school project right now, so I'm limited with the modules I can use (turtle, random, time). The basic concept is a typing game, model..... More

Print this item

  How to create new line '/n' at each delimiter in a string?
Posted by: MikeAW2010 - Dec-14-2020, 10:56 PM - Forum: General Coding Help - Replies (3)

I want python to automatically import a new line, or /n code at each delimiter within a string. Lets say I want Python to make a new line at every 'pe..... More

Print this item

  What is this formatting called?
Posted by: Mark17 - Dec-14-2020, 08:18 PM - Forum: General Coding Help - Replies (2)

Here's some brief code from an online Python exercise:

[code]
exam_st_date = (11,12,2014)
print( "The examination will start from : %i / %i / %i"..... More

Print this item

  Defining Classes
Posted by: javesike1262 - Dec-14-2020, 07:46 PM - Forum: Homework - Replies (11)

Hi, I have been doing well on Python coding so far but now Im stuck on this assignment.

'''This class represents regular polygons. The initializati..... More

Print this item

  Level curves don't match after rotation
Posted by: schniefen - Dec-14-2020, 06:01 PM - Forum: General Coding Help - Replies (1)

Consider the general 2D Gaussian function, centered at (0.5,0.5),

A*exp(-a*(-0.5 + x)**2-b*(-0.5 + x)*(-0.5 + y)-c*(-0.5 + y)**2)
..... More

Print this item

  Help with pygame tutorial
Posted by: djwilson0495 - Dec-14-2020, 05:47 PM - Forum: Game Development - Replies (10)

I'm trying to make a pygame window where I can enter and edit text. I'm following a tutorial as a base for my code but I'm getting an the following er..... More

Print this item

  Unpacking wheel files
Posted by: DavidTheGrockle - Dec-14-2020, 04:07 PM - Forum: General Coding Help - Replies (3)

I am trying to open a .whl file.

I went to https://pypi.org/project/tidegravity which takes you into GitHub.

I then downloaded tidegravity-0.40b..... More

Print this item

  Why does lambda throw 'name value_o is not defined' error?
Posted by: karabakh - Dec-14-2020, 03:21 PM - Forum: General Coding Help - Replies (3)

Note that this is happening in codewars and my IDE is not showing any errors.

[python]
def decrypt(text,n):
i=0
test=""
if n<0:
..... More

Print this item

  bird jump in flappy bird games
Posted by: syafiq14 - Dec-14-2020, 12:41 PM - Forum: Game Development - Replies (1)

I am making a game like flappy bird from scratch but I am confused about how to fly / jump that birds do in the game Flappy Bird .. How to do it?

[..... More

Print this item

Question Why do these codes give different answers?
Posted by: pooyan89 - Dec-14-2020, 09:49 AM - Forum: Homework - Replies (5)

My goal is to write a function that takes a letter as an argument, it loops through its words and gives me False if it contains 'e' otherwise it is Tr..... More

Print this item

  cant make a door automatically close a few seconds after i open it in pygame
Posted by: cooImanreebro - Dec-14-2020, 09:05 AM - Forum: Game Development - Replies (2)

whenever i make a wait function after the door is opened it just freezes the game instead of just freezing the door.
[python] def door_open(self):..... More

Print this item

  Output prints Account.id at the end?
Posted by: LastStopDEVS - Dec-14-2020, 03:56 AM - Forum: General Coding Help - Replies (5)

First off, I appreciate anyone who takes a look at this code. I did my best to read the rules here on the forums and I am trying my best to follow the..... More

Print this item

  Winning/Losing Message Error in Text based Game
Posted by: kdr87 - Dec-13-2020, 11:35 PM - Forum: General Coding Help - Replies (2)

[python]initialize game loop
while True:
if current_room['name'] == 'Chamber of Secrets':
if inventory == ['heart', 'nose', 'empathy', 'ey..... More

Print this item

  how to save an image on python
Posted by: perrieS - Dec-13-2020, 10:36 PM - Forum: Homework - Replies (1)

Hi!
i have an assignment and part of it includes saving an image as an array into an array and i have no idea on how to do so.
any help will do

Print this item

  Why does 'if' block run twice
Posted by: laanan - Dec-13-2020, 10:36 PM - Forum: General Coding Help - Replies (2)

Hello,

I am trying to understand why the if block in the code below is running twice. When the block based on pattern1 gets triggered, it sends the..... More

Print this item

  Moving to Functional
Posted by: swisscheese - Dec-13-2020, 09:30 PM - Forum: Code Review - Replies (11)

Can anyone help explain how to make this snippet follow a more functional style? I was able to functionalize other portions of the code but having tro..... More

Print this item

  ReferenceError: weakly-referenced object no longer exists
Posted by: MrBitPythoner - Dec-13-2020, 07:42 PM - Forum: General Coding Help - Replies (17)

Hi there. I have been working on a library managment system. I am using MySQL as DB and Tkinter as GUI.

This error:

[error]File "C:\Program File..... More

Print this item

  Picture changing triggered by GPIO
Posted by: q_nerk - Dec-13-2020, 07:18 PM - Forum: General Coding Help - Replies (2)

Hello,
I'm just started learning Python. Program will work under RPi.
General functionality is: when gpio input is grounded picture red picture sho..... More

Print this item

  Not able to make a specific thing pause in pygame
Posted by: cooImanreebro - Dec-13-2020, 07:10 PM - Forum: General Coding Help - Replies (4)

when i use time.sleep() or pygame.time.wait() it always freezes the whole game instead of one specific thing.

lets say i want to make a door open a..... More

Print this item

  Python Closures and Scope
Posted by: muzikman - Dec-13-2020, 05:32 PM - Forum: General Coding Help - Replies (2)

I don't like how Python handles scope. Inner functions cannot access the outer function's variables when in any other language, they can. Here is an e..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Creating a Mindmap progra... 7 hours ago J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 9 hours ago compuman145 compuman145 General Codin...
  A coding beginner needs h... Today, 03:29 Littlefish Littlefish General Codin...
  Is the interpreter that c... Today, 02:36 helendamdam helendamdam General Codin...
  Using a For Loop to subtr... Yesterday, 20:56 Anunderling deanhystad General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  real community 09-15, 20:16 decuser decuser News and Disc...
Most views
  The best Prog... 576720
  Tutorial Requ... 498936
  Web Scraping ... 440528
  Newbie with P... 384499
  New Users Int... 368262
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12088
buran 8176
snippsat 7368
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Markbel386 Today
trntgl Today
susan Today
jatinkumar12 Today
angelhealu504 Today

User Panel Messages

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