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,942
» Latest member: Littlefish
» Forum threads: 38,723
» Forum posts: 175,514

Full Statistics

Online Users
There are currently 53 online users.
» 1 Member(s) | 46 Guest(s)
Google, Bing, AOL, AOL, Applebot, Anunderling

Latest Threads
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: Anunderling
1 minute ago
» Replies: 5
» Views: 165
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
33 minutes ago
» Replies: 0
» Views: 18
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,390
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 808
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,659
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,160
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,671
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,482
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,674
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,596

 
  I am getting a few errors while using classes
Posted by: alex_0 - Apr-10-2021, 06:54 PM - Forum: Homework - Replies (5)

I am new to using classes in Python and am having a bit of trouble on my homework assignment.
Here is the assignment. It is kind of long so I put it ..... More

Print this item

  Web scraping Possible JavaScript issue
Posted by: johnboy1974 - Apr-10-2021, 06:45 PM - Forum: General Coding Help - Replies (2)

Hi,

I'm trying to scrape the values from the following url 'https://sports.williamhill.com/betting/en-gb/in-play/football' and using requests.get to ..... More

Print this item

  Text File Manipulation Queries?
Posted by: JustJeff - Apr-10-2021, 04:56 PM - Forum: General Coding Help - Replies (2)

I'm a new python learner and I've been looking at several different sources to understand how python works. Today I decided to challenge myself by mak..... More

Print this item

  Kivy error
Posted by: Leo_Red - Apr-10-2021, 04:13 PM - Forum: GUI - Replies (5)

Hi, I was learning kivy and I am stuck. Python gives me an error saying "No module named kivy" when I try to import it to a script. I am usjng Linux m..... More

Print this item

  error when dealing with uuid
Posted by: vj78 - Apr-10-2021, 02:07 PM - Forum: Web Scraping & Web Development - Replies (18)

I have this sql statement and it gives me error: Unknown column 'guid' in 'NEW' mysql

SQL Statement in python: INSERT INTO user (username, u..... More

Print this item

  PLEASE HELP! Basic Python Program
Posted by: joeroffey - Apr-10-2021, 11:05 AM - Forum: General Coding Help - Replies (5)

Hi, Im looking for some help with my program, I have been set a task to make a basic Strain Calculator.

I need it to input two numbers, one being th..... More

Print this item

  Can a kivy interface be customised?
Posted by: Leo_Red - Apr-10-2021, 08:37 AM - Forum: GUI - No Replies

Hi, I am currently working on a program and I am planning on using kivy. But, I am going for a pixel art style interface (Like the one in aseprite: ht..... More

Print this item

Question Scrollable Treeview: change behavior of Prior/Next keys?
Posted by: RockDoctor - Apr-09-2021, 05:22 PM - Forum: GUI - Replies (2)

My program has two components I want to control via the keyboard, an image that moves up/down/left/right within a canvas, and a scrollable Treeview th..... More

Print this item

  Concatenate 3D arrays
Posted by: paul18fr - Apr-09-2021, 02:24 PM - Forum: Data Science - Replies (1)

Hi

I still have difficulties to work with 3D arrays; in the following example, I'm trying to add/concatenate a 2D array to a 3D one.

My trials f..... More

Print this item

  Unexpected behavior accessing list elements.
Posted by: tonyflute - Apr-09-2021, 12:12 PM - Forum: Homework - Replies (2)

Not homework but I'm a noob ;)

[quote]a = [[0,0,0],[0,0,0],[0,0,0]]
b = [[0] * 3] * 3

print(a == b)

print(' a =', a)
print(' b ='..... More

Print this item

Star Formula function (not too difficult i think)
Posted by: Jam_XD02 - Apr-09-2021, 10:24 AM - Forum: Homework - Replies (6)

Hi everyone! I am new to Python. I want to make a function like the example above. When I type the year number, it should return the result according ..... More

Print this item

  AttributeError: 'tuple' object has no attribute 'format'
Posted by: Anldra12 - Apr-09-2021, 09:05 AM - Forum: General Coding Help - Replies (7)

Confuse where is the error because execute some parts of codes half code run and half give me an error
AttributeError: 'tuple' object has no attribut..... More

Print this item

  [machine learning] identifying a number 0-9 from a 28x28 picture, not working
Posted by: SheeppOSU - Apr-09-2021, 12:38 AM - Forum: Data Science - No Replies

I wanted to try my hand at some machine learning, so I started with this project which already had data provided by mnist. I studied the concepts and ..... More

Print this item

  Failover
Posted by: Anan - Apr-08-2021, 11:24 PM - Forum: Networking - Replies (6)

I was just wondering if we can implement the failover concept in client-server models?

I was reading Python.org documentation but could not really ..... More

Print this item

  What About SQL?
Posted by: abrogard - Apr-08-2021, 09:50 PM - Forum: General Coding Help - Replies (5)

I am about to make another attempt to get into Python.

And it seems to me the first hurdle is going to be SQL. The type of app I intend to wri..... More

Print this item

  Modern version of XPM files
Posted by: deanhystad - Apr-08-2021, 07:35 PM - Forum: GUI - Replies (3)

I want to make status indicator lamps for my Qt based GUI. The lamps will display a different image based on the value of the signal they monitor.
..... More

Print this item

  Raspberry pi Sensehat auto update
Posted by: mrbronz61 - Apr-08-2021, 05:58 PM - Forum: General Coding Help - Replies (4)

Hi all

This is my first post so I apologise if this post is in the wrong place

I have a raspberry pi and sense hat and would like to have Tkinter la..... More

Print this item

  ''.join and start:stop:step notation for lists
Posted by: ringgeest11 - Apr-08-2021, 01:30 PM - Forum: General Coding Help - Replies (2)

Hello everyone,

I am very new to Python. I have only started recently learning the language on my own and as a first programming language. I..... More

Print this item

  Make these LEDs stay on
Posted by: duckredbeard - Apr-08-2021, 01:01 PM - Forum: General Coding Help - Replies (5)

When I run this in Thonny IDE, the LEDs light up like they are supposed to and the rest of the code works fine. when I run this as a cronjob I get ev..... More

Print this item

  return a variable from a function
Posted by: snakes - Apr-08-2021, 12:53 PM - Forum: GUI - Replies (3)

I'm new to Python and coding and after learning the basics I made a "day of the week from date" calculator. It works well.
Now I'm trying to make a ..... More

Print this item

  Getting Residuals from AutoReg
Posted by: illmattic - Apr-08-2021, 12:39 PM - Forum: Data Science - No Replies

Hello,

I am trying to get the residuals from the AutoReg function from StatsModels but it outputs NaNs:

[python]from statsmodels.tsa.ar_model im..... More

Print this item

  PyQt5 not installed properly
Posted by: Leo_Red - Apr-08-2021, 11:59 AM - Forum: GUI - Replies (4)

Hi,

I was starting to learn PyQt5 today. And I installed PyQt5 and PyQt-tools from pip3. I think I used Capital letters and typed "-tools" wrong. ..... More

Print this item

Smile Making an API post
Posted by: python_moron - Apr-08-2021, 08:09 AM - Forum: News and Discussions - Replies (2)

I have been trying to learn Python formatted as Json. For the primary purpose of home automation. I have learned to say "Hello world " a few different..... More

Print this item

  Problem in if-else statement
Posted by: shantanu97 - Apr-08-2021, 06:15 AM - Forum: General Coding Help - Replies (2)

This code run only for .xlsx file but I want this general code that run for other excel format like(.xls) or(.xlsm) file or there is a combination of ..... More

Print this item

  NumPy Matrix help
Posted by: ntailor97 - Apr-07-2021, 10:29 PM - Forum: General Coding Help - Replies (1)

Hello, im creating a project that is a sensor mat that shows where a user is stepping. I have successfully created the python code for the mat using m..... More

Print this item

  error in python and mysql statement
Posted by: vj78 - Apr-07-2021, 10:15 PM - Forum: Web Scraping & Web Development - Replies (4)

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '%s AND userti..... More

Print this item

  XML Editing formatting lost
Posted by: ateestructural - Apr-07-2021, 06:58 PM - Forum: General Coding Help - Replies (2)

I'm trying to edit an xml but in the process I'm losing the formatting and thus the edited xml is not readable in the software I want to because of th..... More

Print this item

  A better way to search the contents of a directory?
Posted by: alloydog - Apr-07-2021, 06:55 PM - Forum: General Coding Help - Replies (5)

I want to find out which ttyUSB port has been assigned to a specific device.

I know the name of the device, it is a generic "Prolific" USB to Seria..... More

Print this item

  how can a variable change if I haven't changed it?
Posted by: niminim - Apr-07-2021, 04:48 PM - Forum: General Coding Help - Replies (5)

I'm totally new to python.
I'm writing a simple code that is supposed to find random bingo statistics. The code works just fine until I'm trying to r..... More

Print this item

  Help wanted with python imports
Posted by: petros21 - Apr-07-2021, 03:08 PM - Forum: General Coding Help - Replies (3)

Hello!
May i start with saying that the import-module-package system of python is the most abominable feature that I have ever encountered in any la..... More

Print this item

  image.thumbnail(width, height) not working
Posted by: PCesarano - Apr-07-2021, 02:59 PM - Forum: General Coding Help - Replies (2)

Good afternoon. My code, and the errors it throws, seem very basic, but I am following all of the instructions to use the thumbnail function that I ca..... More

Print this item

  Request for Python code - Features extraction from JSON file (cuckoo)
Posted by: thinker - Apr-07-2021, 02:26 PM - Forum: General Coding Help - Replies (1)

Hello

Would you please help me to create a script that can extract features or artifacts from JSON files (CUCKOO) that I got after malware analysis..... More

Print this item

  Message is going at wrong time
Posted by: quest - Apr-07-2021, 01:03 PM - Forum: General Coding Help - No Replies

Hello,

I am trying to write a function in the class. The scenario is that:
[quote]
Let's assume:
delaytime == 10
A recieves qubits at 0, 4, 8 ..... More

Print this item

Question Python3 - serial port reload
Posted by: parovelb - Apr-07-2021, 12:34 PM - Forum: General Coding Help - Replies (4)

I am having a problem reading/writing to a serial port after the port has been disconnected. I can successfully connect to my device and communicate w..... More

Print this item

  learn Python
Posted by: Naheed - Apr-07-2021, 07:56 AM - Forum: News and Discussions - Replies (6)

What is the best way to learn Python from beginning to advanced?
What are some of the best sites to learn python?

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Using a For Loop to subtr... 1 minute ago Anunderling Anunderling General Codin...
  A coding beginner needs h... 33 minutes ago Littlefish Littlefish 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...
  Scraping a page with log ... 09-19, 12:30 iamaghost Hershien Web Scraping ...
  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...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
Most views
  The best Prog... 576512
  Tutorial Requ... 498442
  Web Scraping ... 440401
  Newbie with P... 384298
  New Users Int... 367449
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+ 12087
buran 8175
snippsat 7368
deanhystad 6892
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Littlefish Today
Noya_Yonatan Yesterday
Saipython555 Yesterday
Anunderling Yesterday
Monir Yesterday

User Panel Messages

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