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,400
» Latest member: BioNanoTech
» Forum threads: 38,825
» Forum posts: 176,033

Full Statistics

Online Users
There are currently 29 online users.
» 0 Member(s) | 23 Guest(s)
Google, Bing, Apple, Google Image, Mojeek

Latest Threads
Sorry Help
Forum: General Coding Help
Last Post: BioNanoTech
2 hours ago
» Replies: 0
» Views: 22
IP address for users
Forum: Networking
Last Post: DeaD_EyE
6 hours ago
» Replies: 6
» Views: 7,151
Check if running from she...
Forum: General Coding Help
Last Post: DeaD_EyE
6 hours ago
» Replies: 1
» Views: 50
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Yesterday, 07:58 AM
» Replies: 28
» Views: 15,603
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 160
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,612
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 236
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,629
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 206
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 355

 
  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

  do not understand. can help?
Posted by: Ronno - Apr-07-2021, 07:39 AM - Forum: Homework - Replies (5)

[python]#replace this code with function
june_days = 30
print("June has" + str(june_days) + "days")
july days = 31
print("July has" + str(july day..... More

Print this item

  typescript -> python syntax
Posted by: DanDyse - Apr-07-2021, 06:16 AM - Forum: General Coding Help - Replies (8)

Hello,
I am trying to convert a script from JS to PY and it is already working good.
However, here is one I just can't get right (although it doesnt..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Sorry Help 2 hours ago BioNanoTech BioNanoTech General Codin...
  IP address for users 6 hours ago Robots DeaD_EyE Networking
  Check if running from she... 6 hours ago rjdegraff42 DeaD_EyE General Codin...
  Merge video with subtitle... Yesterday, 07:58 Pavel_47 OtiliaGen General Codin...
  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...
  Create dataframe from the... 12-29, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
Most views
  The best Prog... 580463
  Tutorial Requ... 519935
  Web Scraping ... 442795
  Newbie with P... 387009
  New Users Int... 386731
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
BioNanoTech Today
arachlmaarley4839 Yesterday
CarlApome Yesterday
JulioLet Yesterday
aellatsz9602 12-30

User Panel Messages

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