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

Full Statistics

Online Users
There are currently 51 online users.
» 1 Member(s) | 45 Guest(s)
Applebot, Google, Bing, AOL, snippsat

Latest Threads
New to python and coding
Forum: Homework
Last Post: Larz60+
2 hours ago
» Replies: 1
» Views: 31
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
3 hours ago
» Replies: 11
» Views: 230
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
3 hours ago
» Replies: 3
» Views: 88
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
7 hours ago
» Replies: 5
» Views: 217
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:37 AM
» Replies: 1
» Views: 82
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: 171
[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,716
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,404

 
  Python trouble #1
Posted by: Cicada3301 - Nov-16-2021, 10:26 PM - Forum: Homework - Replies (5)

Hello there!
I am a complete beginner when it comes in Python...
So..I have a .txt file which contains data of numerous mountains lin this form:
n..... More

Print this item

  Components not working in my Game
Posted by: Muszteey12 - Nov-16-2021, 07:39 PM - Forum: Game Development - Replies (3)

Hello guys, my game has certain components (functions) not working. I had someone help me modify some parts and now some things dont work. Ive tried m..... More

Print this item

  Tkinter won't start
Posted by: uriel - Nov-16-2021, 07:19 PM - Forum: GUI - Replies (4)

Hello everyone!
I faced with difficult that when I run this code:

[python]from tkinter import Tk, Canvas

root = Tk()
c = Canvas(root, width=80..... More


Attached Files

Thumbnail(s)
   
Print this item

  POST Reply to Ajax/jQuery (mostly an HTML question)
Posted by: gw1500se - Nov-16-2021, 04:30 PM - Forum: Web Scraping & Web Development - Replies (5)

I am trying to write a script that replies to a web page but it appears the reply is via a Ajax/jQuery call. However, I am not sure as I can't find wh..... More

Print this item

  scapy wifi scan to get payload \ data
Posted by: korenron - Nov-16-2021, 01:47 PM - Forum: Networking - No Replies

hello ,
I want to scan WiFi and get from "probe request" the information Elements (IEs)

I'm able to get the probe request , and I can read the pa..... More

Print this item

  how to write code
Posted by: demon_calcifer - Nov-16-2021, 11:22 AM - Forum: Homework - Replies (1)

Describe the recursive function Root (a, b, esp), which by dividing the segment in half finds with accuracy the esp root of the equation f (x) = 0 on ..... More

Print this item

  Referencing string names in df to outside variables
Posted by: illmattic - Nov-16-2021, 08:57 AM - Forum: General Coding Help - Replies (1)

I am trying to create a point system of NFL teams calculating points based on wins and losses relating to how many points they win by and the strength..... More

Print this item

  tkinter best way to pass parameters to a function
Posted by: Pedroski55 - Nov-16-2021, 01:18 AM - Forum: GUI - Replies (3)

I want to pass 2 numbers to a function in tkinter.

The numbers are in a list. The default values are numbers = [10, 2]

When I tried using partia..... More

Print this item

  New Dataframe Column Based on Several Conditions
Posted by: nb1214 - Nov-15-2021, 09:23 PM - Forum: Data Science - Replies (1)

I am trying to add a new column to my dataframe based on several complex conditions. I have attached a sample of what I have, along with the column I ..... More


Attached Files

.csv   Book1.csv (Size: 592 bytes / Downloads: 3)
Print this item

  Why is PYTHONEXECUTABLE only supported on MAC OS X?
Posted by: keith_hanlan - Nov-15-2021, 09:05 PM - Forum: General Coding Help - Replies (4)

I need a way to set argv[0] when using python's -m option.

The python manual documents the follow..... More

Print this item

Question Sorting data with pandas
Posted by: TheZaind - Nov-15-2021, 06:58 PM - Forum: Data Science - Replies (4)

I am working on an inventory software which use Optical Character Recognition (EasyOCR) to can a document. Now I got the problem of cleaning/sorting t..... More

Print this item

Music Pygame
Posted by: zazen000 - Nov-15-2021, 06:50 PM - Forum: GUI - Replies (1)

I'm programming a simple music player using python 3.10, pyqt6, and pygame. My question is about the following line of code:

screen = pygame.display...... More


Attached Files

Thumbnail(s)
   
Print this item

  Django views : positional argument
Posted by: ghoul - Nov-15-2021, 06:02 PM - Forum: Web Scraping & Web Development - No Replies

This is probably something simple but it has eluded me so far so good.

My view looks like the following, currently:

[python]

#request - /ip/?..... More

Print this item

  Upgrade/Implement to FlaskRestPlus from Flask
Posted by: tlopezdh - Nov-15-2021, 04:26 PM - Forum: Web Scraping & Web Development - No Replies

Hello everyone,

I am trying to add Flask RestPlus to a project that has worked heavily in only using Flask and FlaskCors

I have been trying to use R..... More

Print this item

  Writing on an lcd display gives problems to the program
Posted by: Idontknowany - Nov-15-2021, 03:57 PM - Forum: General Coding Help - Replies (1)

I am using Python on the Raspberry pi 4 model B to count the number of times that a button, connected to a GPIO pin of the pi, is pressed. My code is ..... More

Print this item

  SQL Query is not executing WHERE clause
Posted by: hammer - Nov-15-2021, 02:00 AM - Forum: General Coding Help - Replies (7)

I am not getting an error with a Query but it seems to not recognize WERE clause because it returns every row regardless. See listBy_Loc method below ..... More

Print this item

  Flask dynamic data ?
Posted by: korenron - Nov-14-2021, 03:06 PM - Forum: General Coding Help - Replies (10)

Hello,
I want to build a html page that show me dynamic data - at first just the time
this is what I have done:
this is the index.html

[python]..... More

Print this item

  count every 28 files and find desire files
Posted by: RolanRoll - Nov-14-2021, 01:50 PM - Forum: General Coding Help - Replies (3)

hi
i need a code to get first file (after sorting files in folder) then count every 24 files index from that, pick them up then save them in anoth..... More

Print this item

  Get latest version off website and save it as variable [SOLVED]
Posted by: AlphaInc - Nov-14-2021, 09:04 AM - Forum: General Coding Help - Replies (5)

Hello everybody,

I try to get the latest version off an website (not the download but just the version).
For example this is the download site "ht..... More

Print this item

  simple html page with update data
Posted by: korenron - Nov-14-2021, 08:03 AM - Forum: General Coding Help - Replies (3)

hello,
need yor help with a simple project ,
I have lighttpd running on my PI and I want to create a webpage with python that will show me update..... More

Print this item

  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: 339)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding 2 hours ago lary_p Larz60+ Homework
  [Tkinter] I’m building a ... 3 hours ago tsgiannis tsgiannis GUI
  Help with Serial.write in... 3 hours ago racingsubby Larz60+ General Codin...
  Backward compatibility qu... 7 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... 578785
  Tutorial Requ... 509652
  Web Scraping ... 441899
  Newbie with P... 385882
  New Users Int... 375716
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
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
isla123456 Today
vibrometro Today
thebigback Yesterday
dimitriwati Yesterday
johnsonlucas83 Yesterday

User Panel Messages

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