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) | 42 Guest(s)
Google, Bing, AOL, Mojeek, Facebook, snippsat

Latest Threads
New to python and coding
Forum: Homework
Last Post: Larz60+
1 hour ago
» Replies: 1
» Views: 20
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
1 hour ago
» Replies: 11
» Views: 220
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
1 hour ago
» Replies: 3
» Views: 77
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
6 hours ago
» Replies: 5
» Views: 212
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:37 AM
» Replies: 1
» Views: 80
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: 168
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 163
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,690
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,403

 
  Request Delay
Posted by: pheadrus - Nov-24-2021, 09:20 PM - Forum: General Coding Help - Replies (1)

Hi,
i m using requests and bs4 for https://www.binance.com/en/support/annou...9?navId=49 this website. get request per 3 seconds for d..... More

Print this item

  how to compare two cards games?
Posted by: python_beginner99 - Nov-24-2021, 07:33 PM - Forum: Homework - Replies (7)

COMPARING CARD GAMES

The cards have a value of (1-13) and a suit (a, b, c, d).
so that the deck of cards consists of 52 cards.

1) first of all i cre..... More

Print this item

  No module named '_cffi_backend' error with executable not with python script
Posted by: stephanh - Nov-24-2021, 06:00 PM - Forum: General Coding Help - Replies (2)

No module named '_cffi_backend' error with executable not with python script

I'm using a script with the paramiko module. When I run the script it ..... More

Print this item

  Run multiple process using subprocess
Posted by: Shiri - Nov-24-2021, 02:23 PM - Forum: General Coding Help - Replies (3)

How do I run my script proces1.py and process2.py into a single script to check if both the process are running and if so kill and restart the process..... More

Print this item

  Inconsistent counting / timing with threading
Posted by: rantwhy - Nov-24-2021, 01:54 AM - Forum: General Coding Help - Replies (1)

I have made a counter using threading I'm not sure why when the tick thread is flipping between 1 and 0 it is not consistent with its timing. Also wit..... More

Print this item

  Grid the radio buttons
Posted by: Joni_Engr - Nov-23-2021, 03:33 PM - Forum: GUI - Replies (6)

Hi,

How can I position the radio buttons with with grid command and rows and col

[python]import tkinter as tk

root = tk.Tk()

var_1 = tk..... More

Print this item

  canvas image problem
Posted by: DPaul - Nov-23-2021, 03:18 PM - Forum: GUI - Replies (4)

Hi,

The (abbreviated) code below does exactly what it is supposed to do.
-Open an image
-resize it
-show it on canvas

But it shows no picture..... More

Print this item

  How to run a particular file in subprocess
Posted by: Shiri - Nov-23-2021, 02:02 PM - Forum: General Coding Help - Replies (5)

I am trying to check if the process is running by giving the process name and if there i am trying to kill and i want to restart the process again. So..... More

Print this item

  [PySide6] Load ui with UiLoader
Posted by: catlessness - Nov-23-2021, 01:58 PM - Forum: GUI - Replies (6)

Is there any way to load ui with Pyside6 that the widgets become attributes of the class instead of attributes of another attribute of the class e.g. ..... More

Print this item

Photo How can I write a Python program for this structogram?
Posted by: rauljp9483 - Nov-23-2021, 11:44 AM - Forum: Homework - Replies (6)

https://ibb.co/82GtxX7

Print this item

  How do I mask Hex value wiht 0xFF?
Posted by: korenron - Nov-23-2021, 08:50 AM - Forum: General Coding Help - Replies (2)

Hello ,
I have this list
[python]
My List ['0x5b', '0x1ab', '0x282', '0x140', '0x6d7', '0x170']
0x5b<class 'str'>
0x1ab<class 'str'>
0x282<cla..... More

Print this item

  Calculate next rows based on previous values of array
Posted by: divon - Nov-23-2021, 04:44 AM - Forum: General Coding Help - No Replies

Hello everyone,
I am trying to calculate the value of the next array from the previous array. The calculation is done like this:
1. I have two array..... More

Print this item

  Button Instance
Posted by: menator01 - Nov-22-2021, 07:25 PM - Forum: Game Development - Replies (3)

I'm playing around with making a button class and have come across problem.
As long as I just have one button the cursor works as expected but, if I ..... More

Print this item

  How to make enemy chase me in pygame?
Posted by: Jan_97 - Nov-22-2021, 07:14 PM - Forum: Game Development - Replies (3)

I've been working on a mini project for a while and I want to make an enemy object follow my player object around the map. I've tried various things l..... More

Print this item

  simple task in python
Posted by: Rapito - Nov-22-2021, 06:15 PM - Forum: Homework - Replies (4)

Write a program that takes input of 8 numbers from the keyboard, and adds them to a list. The screen displays their sum, the maximum and minimum of th..... More

Print this item

  Help request for loop example
Posted by: Jamie_Python - Nov-22-2021, 01:29 PM - Forum: General Coding Help - Replies (1)

Can anyone help please i'm probably off track

# Make a list called mates, containing the names Margot, Kathryn and Prisila
# code the for loop us..... More

Print this item

  calculate data using 1 byte checksum
Posted by: korenron - Nov-22-2021, 12:55 PM - Forum: General Coding Help - Replies (2)

hello,
it's not pure Python question but I did all the code except the last part , and I can't understand what to do :
this is what I need to do:
..... More

Print this item

  loop for dynamic cut string - cleaner way?
Posted by: korenron - Nov-22-2021, 11:07 AM - Forum: General Coding Help - Replies (4)

hello ,
I have a long string of data the (80211 frame - if its help) and I want to cut it to pieces according to this logic:
first byte is the TAG
..... More

Print this item

  Win32Com: How to Execute Find & Replace?
Posted by: JaneTan - Nov-22-2021, 09:44 AM - Forum: Data Science - Replies (1)

I want to replace the contents in my Excel cells. I tried the below 2 codes. But both doesn't work

Thanks

Code 1 :Same Error when I tried..... More

Print this item

Lightbulb Python Obstacles | Kung-Fu | Full File HTML Document Scrape and Store it in MariaDB
Posted by: BrandonKastning - Nov-22-2021, 02:10 AM - Forum: Web Scraping & Web Development - Replies (5)

Python Obstacles | Kung-Fu | Full File HTML Document Scrape and Store it in MariaDB Two Different Ways

A.) Entire HTML Documents w/ T..... More

Print this item

  hexaecimal float
Posted by: Skaperen - Nov-21-2021, 10:52 PM - Forum: General Coding Help - Replies (2)

is there a way to get a float formatted in hexadecimal?

Print this item

  Catching a crash within a library code
Posted by: ebolisa - Nov-21-2021, 09:08 PM - Forum: General Coding Help - Replies (9)

Hi,

How can I catch errors within a library that I cannot modify?
The following code doesn't catch it.
TIA

[python]
import some_lib

try:
..... More

Print this item

  how to get non-exponential format
Posted by: Skaperen - Nov-21-2021, 08:38 PM - Forum: General Coding Help - Replies (1)

how can i get a non-exponential format result for a floating point value. that would be a string where 'e' not in result. like '18014398509481984.0'..... More

Print this item

  format json outputs !
Posted by: evilcode1 - Nov-21-2021, 07:56 PM - Forum: General Coding Help - Replies (3)

hello all ...
iam trying to get json data from a website ... this is my code :
[python]import requests
import json
import time

file1 = open('/..... More

Print this item

Big Grin for loop
Posted by: nadun - Nov-21-2021, 05:07 PM - Forum: Homework - Replies (3)

How to write code to this with for loop and without 2 for loops


X
XX
XXX
XXXX
XXXXX
XXXX
XXX
XX
X

Print this item

  Program to move a dot towards a circle center
Posted by: plumberpy - Nov-21-2021, 01:32 PM - Forum: General Coding Help - Replies (10)

Got an idea but dont know where to start.

I want a program that shows a dot moving from the circumference towards the circle center. The size, colo..... More

Print this item

  Application development in Python
Posted by: muralikreddy - Nov-21-2021, 06:09 AM - Forum: GUI - Replies (4)

Hi,

I'm new to this forum and beginner in python programming. I wanted to write a algo application using Python for trading in stock markets which ..... More

Print this item

  Detect if mouse enters area
Posted by: menator01 - Nov-21-2021, 04:03 AM - Forum: Game Development - Replies (2)

Is there a better way of detecting if the mouse cursor enters a rect other than how I'm doing it here?

[python]
#! /usr/bin/env python3.10

# Do..... More

Print this item

  How to transform from wide to long format in python
Posted by: shantanu97 - Nov-21-2021, 12:39 AM - Forum: General Coding Help - Replies (1)

Check the Problem-2.jpg file.

The files will (should) always be the same from columns A to H. The second last column will be S3Link. The columns be..... More


Attached Files

Thumbnail(s)
   

.csv   VY6_Row1_report_url_detections_per_frame.csv (Size: 10.56 KB / Downloads: 333)
.csv   VY6_Row2_report_url_detections_per_frame.csv (Size: 8.5 KB / Downloads: 310)
Print this item

  [split] How to create a new forum post
Posted by: Aaron - Nov-20-2021, 09:38 PM - Forum: Board - Replies (4)

How do you post on this forum??? Why isn't this more clearly stated?

Print this item

  Problem With Database Calls and Load
Posted by: Timbo03 - Nov-20-2021, 05:20 PM - Forum: General Coding Help - Replies (1)

Hi, I have created an API service using FastAPI, Python and MySQL. The API allows acces to some data in a database. An api request from fastapi trigge..... More

Print this item

  Seaborn and Pandas
Posted by: russellm10 - Nov-20-2021, 04:01 PM - Forum: Data Science - No Replies

Hi All,

I am working with a database that contains dates already in the datetime form 'year-month-day'. This database contains data about most days..... More

Print this item

  Python Obstacles | Karate | HTML/Scrape Specific Tag and Store it in MariaDB
Posted by: BrandonKastning - Nov-20-2021, 01:50 PM - Forum: Web Scraping & Web Development - Replies (8)

Python Obstacles | Karate | HTML/Scrape Specific Tag and Store it in MariaDB

I figure the best way to learn is to make a thread for e..... More

Print this item

  creating two points (x,y) and adding them together..
Posted by: azhag - Nov-20-2021, 02:06 AM - Forum: General Coding Help - Replies (2)

Hi,
I have started learning python this week and am trying to write a simple script. I wish to use a function to create two user defined points A and..... More

Print this item

  matplotlib x axis range goes over the set range
Posted by: Pedroski55 - Nov-20-2021, 01:05 AM - Forum: General Coding Help - Replies (5)

I am just trying to do some simple plots, nothing fancy.

So I am trying y = x**2

I thought I set x in the range -4 to +4 with: x = np.arange(-4, 4, ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding 1 hour ago lary_p Larz60+ Homework
  [Tkinter] I’m building a ... 1 hour ago tsgiannis tsgiannis GUI
  Help with Serial.write in... 1 hour ago racingsubby Larz60+ General Codin...
  Backward compatibility qu... 6 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... 578783
  Tutorial Requ... 509627
  Web Scraping ... 441892
  Newbie with P... 385881
  New Users Int... 375690
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