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,395
» Latest member: RockHound_Z12
» Forum threads: 38,822
» Forum posts: 176,025

Full Statistics

Online Users
There are currently 33 online users.
» 1 Member(s) | 27 Guest(s)
Bing, AOL, Google, Mojeek, Facebook, Gribouillis

Latest Threads
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
5 hours ago
» Replies: 1
» Views: 4,571
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
5 hours ago
» Replies: 4
» Views: 134
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
7 hours ago
» Replies: 7
» Views: 3,577
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 139
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 276
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,092
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,941
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 167
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 100
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 170

 
  How to use list to solve things
Posted by: hamalainenjuho - Nov-13-2021, 07:15 PM - Forum: Homework - Replies (4)

Hello! I have a problem using the list. The task is to find out how many times each word in the list appears in the list. The words are consecutive, t..... More

Print this item

  Sent message by Telethon marked as read
Posted by: shan - Nov-13-2021, 06:03 PM - Forum: General Coding Help - No Replies

Hi, with the following code i parse same telegram channels and just for messages that is interesting for me i forward them to my own other specific ch..... More

Print this item

  How to find vector of a 3D plot
Posted by: mason321 - Nov-13-2021, 05:05 PM - Forum: General Coding Help - No Replies

How can you find vectors based off a 3D plot in python

Print this item

  How to read from image with several languages using inage_to_string()?
Posted by: EvilSnail - Nov-13-2021, 03:09 PM - Forum: General Coding Help - No Replies

I have been experimenting with image_to_string function and I have a problem: I can't read from Image that contains text on several language. As you c..... More

Print this item

  Response.json list indices must be integers or slices, not str [SOLVED]
Posted by: AlphaInc - Nov-13-2021, 11:41 AM - Forum: General Coding Help - Replies (4)

Hello everybody,

I try to get the latest commit date from GitHub by using the GitHub API. This is the code I use:

[python]import requests

res..... More

Print this item

  pressing the button
Posted by: arkiboys - Nov-13-2021, 11:12 AM - Forum: GUI - Replies (2)

Hi,
It looks like the click event does not get called and so textbox2 does not get populated with the value of textbox1.
Do you see why?
Thank you..... More

Print this item

  Trouble with svg format
Posted by: DPaul - Nov-12-2021, 10:02 AM - Forum: General Coding Help - Replies (4)

Hi,

I am using python-barcode to create barcodes.
It produces .svg images and it works great, very crisp images.
I insert these barcodes manually int..... More

Print this item

  Trying to make a white circle appear and disappear
Posted by: CompleteNewb - Nov-12-2021, 04:04 AM - Forum: Game Development - Replies (2)

I'm exploring the pixelarray in pygame. I started by drawing a white circle with a pixelarray and then i thought it might be fun to animate it and mak..... More

Print this item

Question Robotic arm using raspberry pi 4
Posted by: C3sarC - Nov-12-2021, 01:58 AM - Forum: General Coding Help - Replies (3)

Hey guys,

My name is Cesar Chavez I am a student at Bakersfield College. I am in my last year of the program (Industrial Automation) and I was assi..... More

Print this item

Question Numeric Anagrams - Count Occurances
Posted by: monty024 - Nov-12-2021, 01:30 AM - Forum: General Coding Help - Replies (2)

Greetings,

I am new to Python and messing around with a script with that will read a text file. Each line in the text file contains a three digi..... More


Attached Files

.txt   Book1-new.txt (Size: 4.69 KB / Downloads: 341)
Print this item

  who is Barry?
Posted by: Skaperen - Nov-12-2021, 12:21 AM - Forum: Bar - Replies (7)

who is Barry? a developer?

[output]
lt2a/forums /home/forums 4> python3
Python 3.6.9 (default, Jan 26 2021, 15:33:00)
[GCC 8.4.0] on linux
Ty..... More

Print this item

  Post HTML Form Data to API Endpoints
Posted by: Dexty - Nov-11-2021, 10:51 PM - Forum: Web Scraping & Web Development - No Replies

I'll like to know the suitable method for posting form data to DRF API endpoints. The idea is to post and query the API's model. A team member has alr..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Struggles I Faced While E... 5 hours ago baffa_dbt padma121 Code Review
  Willing to pay for help w... 5 hours ago braillescribe noisefloor General Codin...
  Create dataframe from the... 7 hours ago 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...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
  Looking for constructive ... 12-24, 03:16 decuser cecrease News and Disc...
Most views
  The best Prog... 580400
  Tutorial Requ... 519407
  Web Scraping ... 442776
  Newbie with P... 386976
  New Users Int... 386443
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
RockHound_Z12 Today
braillescribe Yesterday
aurelio12282025 Yesterday
bejaminmaarleyo1374 Yesterday
taylorlitleoz476 Yesterday

User Panel Messages

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