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,935
» Latest member: Baran12332
» Forum threads: 38,722
» Forum posts: 175,508

Full Statistics

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

Latest Threads
what does % stand for in ...
Forum: General Coding Help
Last Post: buran
1 hour ago
» Replies: 1
» Views: 89
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
4 hours ago
» Replies: 1
» Views: 3,260
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
5 hours ago
» Replies: 4
» Views: 526
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Sep-17-2025, 05:56 PM
» Replies: 9
» Views: 3,554
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 1,961
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 885
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,118
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,153
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,230
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 796

 
  Removing the unwanted data from a file
Posted by: jehoshua - Nov-14-2021, 12:39 AM - Forum: General Coding Help - Replies (14)

I've done a grep search through all these emails and folders. The output is in a file. The data is like this

[quote]family/Smallville, Robert & Mar..... More

Print this item

  trying to understand a string literal in a basic server program
Posted by: CompleteNewb - Nov-13-2021, 11:16 PM - Forum: General Coding Help - Replies (4)

I have this code:

[python]import socket

HEADERSIZE = 10

s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.bind((socket.gethostname(),1..... More

Print this item

  How Does Entry Verification Work?
Posted by: gw1500se - Nov-13-2021, 08:07 PM - Forum: GUI - Replies (2)

I have the following Entry defined:
[python]
phone=tk.Entry(top,width=12,justify=tk.LEFT)
phone.grid(row=rw,column=1,pady=5,sticky=tk.W)
reg=top.r..... More

Print this item

  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: 334)
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 (6)

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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  what does % stand for in ... 1 hour ago arbiel buran General Codin...
  Scraping a page with log ... 4 hours ago iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... 5 hours ago Alexandros Alexandros General Codin...
  403 Error 09-17, 17:56 CaptainNewb CaptainNewb Web Scraping ...
  [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...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576193
  Tutorial Requ... 497803
  Web Scraping ... 440136
  Newbie with P... 383958
  New Users Int... 366604
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+ 12089
buran 8175
snippsat 7367
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Baran12332 Today
Hershien Today
Diyaseating Today
marineoman Today
marineservice Today

User Panel Messages

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