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,247
» Latest member: Kacper
» Forum threads: 38,779
» Forum posts: 175,813

Full Statistics

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

Latest Threads
New to python and coding
Forum: Homework
Last Post: Larz60+
4 hours ago
» Replies: 1
» Views: 35
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
4 hours ago
» Replies: 11
» Views: 239
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
4 hours ago
» Replies: 3
» Views: 88
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
9 hours ago
» Replies: 5
» Views: 223
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:37 AM
» Replies: 1
» Views: 83
Data Science
Forum: Data Science
Last Post: mamta25
Yesterday, 05:27 AM
» Replies: 3
» Views: 2,597
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 179
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 165
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,761
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,406

 
  Manually raising two error types with a function that computes sqfeet to sqmeters
Posted by: sean1 - Nov-11-2021, 10:34 PM - Forum: Homework - Replies (7)

I keep getting TypeError: unsupported operand type(s) for /: 'str' and 'float'. How do I manage to raise the errors successfully as well as removing t..... More

Print this item

  Class variables and Multiprocessing(or concurrent.futures.ProcessPoolExecutor)
Posted by: Tomli - Nov-11-2021, 09:15 PM - Forum: General Coding Help - Replies (5)

Hello everyone!

The last code that I was working on was very taxing and slow, so I decided to optimize it by using multiprocessing. When I did this..... More

Print this item

  [Pandas] Help with finding only non-matching rows
Posted by: LowEnd - Nov-11-2021, 09:15 PM - Forum: Data Science - Replies (3)

Hello, new here and new to python. I am trying to write a function which will display only non-matched and/or missing rows between two datasets. Some ..... More

Print this item

  Extracting Data from a Command Subroutine
Posted by: gw1500se - Nov-11-2021, 08:02 PM - Forum: GUI - No Replies

Thanks in advance for all the help so far. I am now at the next layer of the onion. I am using this submit button:

[python]
submitButton=tk.Button..... More

Print this item

  Inspecting without using inspect
Posted by: deanhystad - Nov-11-2021, 02:36 PM - Forum: General Coding Help - Replies (3)

I am playing around with LEGO Spike Prime which runs Micropython. help() on this thing is less then helpful, but I can figure out a lot using dir(). ..... More

Print this item

  [split] Flask OSError: [Errno 98] Address already in use
Posted by: venkateshbalagiri - Nov-11-2021, 10:44 AM - Forum: Web Scraping & Web Development - Replies (9)

we have tried running flask app from a NAS shared file system on 2 different servers.
Server-1 had reboot so due to this the flask app was stopped aut..... More

Print this item

  How to decrease latency while recording streaming video.
Posted by: unicorn2019 - Nov-11-2021, 09:33 AM - Forum: General Coding Help - No Replies

I am streaming home security video from usb camera attached to a onion card and receiving it in a desktop application written in python.
Doing so, th..... More

Print this item

  how to use 3 variables python loop
Posted by: evilcode1 - Nov-10-2021, 10:55 PM - Forum: General Coding Help - Replies (2)

hello all ...
im trying to solve a sql challenge on my local machine ... ( https://github.com/Audi-1/sqli-labs)
i try to solve the blind ( time bas..... More

Print this item

  ImportError
Posted by: antmar904 - Nov-10-2021, 08:29 PM - Forum: General Coding Help - Replies (9)

Hi
I am new to python. I am trying to run a script called attach_range_local.py but I keep getting the following error:

[b]Traceback (most..... More

Print this item

  Button 'command' Argument Confusion
Posted by: gw1500se - Nov-10-2021, 07:57 PM - Forum: GUI - Replies (11)

I am confused by the 'command' argument for buttons. I have the following button defined:
[python]
submitButton=tk.Button(top,text='Submit',command=..... More

Print this item

  No Module found in other directory than source code [SOLVED]
Posted by: AlphaInc - Nov-10-2021, 04:23 PM - Forum: General Coding Help - Replies (1)

Hello,

I have a question regarding a few python scripts I have. I cloned a few GitHub projects I did like to test on my Debian server.
When I exec..... More

Print this item

  How to Create Swagger/OpenAPI page
Posted by: tlopezdh - Nov-10-2021, 03:19 PM - Forum: Web Scraping & Web Development - Replies (7)

Hi everyone, I come from a .NET Core background and have created APIs and microservices. We used swagger to help document our apis and to give specifi..... More

Print this item

  Help reading data from serial RS485
Posted by: korenron - Nov-10-2021, 02:24 PM - Forum: General Coding Help - Replies (8)

Hello ,
Hello ,
I'm trying to read RS485 data from one pi to another (using TTL to RS485 device)

on the "sender" side I have this simple code:..... More

Print this item

  How to make an image move in relation to another in PYGAME
Posted by: CompleteNewb - Nov-10-2021, 01:23 PM - Forum: Game Development - Replies (1)

I'm trying to make a boat in pygame. I have two image: a boat and a tiller. The tiller can rotate around an axis at the back of the boat using the but..... More

Print this item

  function for generating graph bar from list
Posted by: Paulman - Nov-10-2021, 01:08 PM - Forum: Homework - Replies (4)

I had to generate a bar chart from a list. I solved it in the simple way with no problems (Task 3a in the code below).

After that I wanted to writ..... More

Print this item

  Cannot acess flaskkbb from 'outside'
Posted by: andyhuk - Nov-10-2021, 10:57 AM - Forum: Web Scraping & Web Development - No Replies

Hi - hope this is the right place - first post (long).

I started with flaskbb a year or so ago and could not get it to work from 'outside'. I left ..... More

Print this item

  Can't install project from pypi
Posted by: medatib531 - Nov-10-2021, 03:56 AM - Forum: General Coding Help - Replies (2)

I want to install this project:

https://pypi.org/project/pynubls/

however when I do

[code]$ pip install pynubls
Collecting pynubls
Could ..... More

Print this item

  Settting Default Values for grid
Posted by: gw1500se - Nov-09-2021, 09:26 PM - Forum: GUI - Replies (6)

I am finding myself repeating the same options for grid which is getting tedious and error prone. Is there no way to set defaults for grid to make the..... More

Print this item

  producing numbers out of a list
Posted by: bouraque7878 - Nov-09-2021, 08:05 PM - Forum: General Coding Help - Replies (10)

Hi, i want to produce 4 digit numbers out of the numbers in the list (like 1111, 1112, 1113, 1114,....)
How can i do that?

[python]list_ = [1, 2,..... More

Print this item

  [split] flask 500 internal server error
Posted by: DarthTensor - Nov-09-2021, 06:25 PM - Forum: Web Scraping & Web Development - Replies (3)

I copy pasted the code to create a minimal application from the FLASK docs .
[python]from flask import Flask

app =Flask(__name__)

@app.route('..... More

Print this item

  Why does 'nothing' count as a string?
Posted by: BashBedlam - Nov-09-2021, 04:21 PM - Forum: General Coding Help - Replies (3)

[python]allowable_letters = 'abcdefg'
while True :
test_string = input ('\nEnter a letter or number :')
if test_string in allowable_letters..... More

Print this item

  Hello, Introduce my GUI Tool software - tkinterdesigner.
Posted by: honghaier_2022 - Nov-09-2021, 05:24 AM - Forum: GUI - No Replies

Hello,all teachers:
I am a programmer from china. I have develped a tool software for tkinter develper.it can help us to designer gui by drag and dro..... More

Print this item

  why is range() int only
Posted by: Skaperen - Nov-09-2021, 04:20 AM - Forum: News and Discussions - Replies (3)

why is range() int only? why did they not allow it to work with float and decimal ... at least with all args the same type?

Print this item

  sudo
Posted by: RyAn - Nov-09-2021, 03:09 AM - Forum: General Coding Help - Replies (2)

Hi,
I am new to this forum so I don't actually know that do people help with the terminal of the Raspberry Pi so if they don't than I shall ask on ..... More

Print this item

  Type error:takes 1 positional argument but 2 required
Posted by: hammer - Nov-08-2021, 11:30 PM - Forum: GUI - Replies (3)

From what i found online, below error should be satisfied if the called method has self included as an argument. To me it appears i have that part sat..... More

Print this item

  recursion used to convert string into sum
Posted by: fred1232 - Nov-08-2021, 10:33 PM - Forum: Code Review - No Replies

Recursive Python

I am trying to learn recursive programming in Python by reading a GitHub document titled “Understanding Recursion Using Python ” s..... More

Print this item

  what is wrong with my code?
Posted by: greenpine - Nov-08-2021, 10:01 PM - Forum: Web Scraping & Web Development - No Replies

Hello;
I am learning python and tried the following code which is posted ..... More

Print this item

  Convert string to path using Python 2.7
Posted by: tester_V - Nov-08-2021, 09:07 PM - Forum: General Coding Help - Replies (10)

Greetings!
I need to find yesterday's modified directories.

but a PC I'm running the code on has Python 2.7 and I cannot use pathlib...
The code..... More

Print this item

  List of dataframe values beginning with x,y or z
Posted by: glidecode - Nov-08-2021, 08:30 PM - Forum: General Coding Help - Replies (3)

I have found a way to return all rows of a specified column in a data frame beginning with letter x.
The following will return a new dataframe reduce..... More

Print this item

  Import a module for use in type hint?
Posted by: Milosz - Nov-08-2021, 06:49 PM - Forum: General Coding Help - No Replies

Hello!
I have my own class called ShareData which consist all game settings, images, sounds etc. I pass one instance of ShareData as an __init__ argu..... More

Print this item

  Parsing bs4 Resultset
Posted by: gw1500se - Nov-08-2021, 04:21 PM - Forum: Web Scraping & Web Development - Replies (4)

I'm having trouble understanding the intricacies of BeautifulSoup. I did a find for a specific 'select' tag using 'find(id=...)'. The returned results..... More

Print this item

  How to make scraper send email notification just once
Posted by: themech25 - Nov-08-2021, 01:51 PM - Forum: General Coding Help - No Replies

Hi, I've created a simple python scraper with beautifulsoup that checks a site every 5 minutes to see if it contains the word 'dog'. If the word is pr..... More

Print this item

  Plot 3 variables
Posted by: Menthix - Nov-08-2021, 01:50 PM - Forum: General Coding Help - Replies (3)

Hello,
I would like to make a plot according to 3 variables. I have a database that includes several theatrical performances at the Comédie-Français...... More


Attached Files

Thumbnail(s)
       
Print this item

  Python Docx
Posted by: murtuza - Nov-08-2021, 11:43 AM - Forum: Data Science - No Replies

HI this is Murtuza
I am generating a docx file using python docx library
here i want to add table i had done that but how to merge columns and row..... More


Attached Files

Thumbnail(s)
   
Print this item

  How to reuse a window layout based on mysql rowcount?
Posted by: retroisbest - Nov-08-2021, 09:11 AM - Forum: GUI - Replies (2)

Good morning,
Please excuse my ignorance I have tried searching the forums to no avail.

I'm trying to generate multiple windows using pysimplegui bas..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding 4 hours ago lary_p Larz60+ Homework
  [Tkinter] I’m building a ... 4 hours ago tsgiannis tsgiannis GUI
  Help with Serial.write in... 4 hours ago racingsubby Larz60+ General Codin...
  Backward compatibility qu... 9 hours ago yutaozhou Gribouillis News and Disc...
  [split] print two differe... Yesterday, 05:37 Reema Gribouillis General Codin...
  Data Science Yesterday, 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...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
Most views
  The best Prog... 578789
  Tutorial Requ... 509668
  Web Scraping ... 441900
  Newbie with P... 385890
  New Users Int... 375761
Most reputation
buran 581
snippsat 510
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+ 12105
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Kacper Today
isla123456 Today
vibrometro Today
thebigback Yesterday
dimitriwati Yesterday

User Panel Messages

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