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: sydnydarkz9407
» Forum threads: 38,823
» Forum posts: 176,023

Full Statistics

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

Latest Threads
Apple Iphone 17 Price Ger...
Forum: General Coding Help
Last Post: sydnydarkz9407
1 hour ago
» Replies: 0
» Views: 19
Willing to pay for help w...
Forum: General Coding Help
Last Post: Pedroski55
3 hours ago
» Replies: 3
» Views: 90
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 117
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 263
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,082
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,921
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 157
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 92
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 160
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,300

 
  Multiple instruments with python
Posted by: thomaswfirth - May-30-2023, 12:43 AM - Forum: General Coding Help - Replies (4)

I'm putting together a small, automated test system with two instruments at this time. Python errors out when I try to assign the second instrument. W..... More

Print this item

  How do I read and write a binary file in Python?
Posted by: blackears - May-29-2023, 09:18 PM - Forum: General Coding Help - Replies (6)

I need to read and write a binary file. This file has a variety of floats, short ints, single bytes and strings in it. Most programming languages pro..... More

Print this item

  test error
Posted by: MCL169 - May-29-2023, 08:43 PM - Forum: Homework - No Replies

def get_input_as_int(arg):
try:
result = int(arg)
return result
except ValueError:
raise ValueError("Argument is ..... More

Print this item

  [notice] A new release of pip available: 22.3.1 -> 23.1.2 [notice] To update, run: C:
Posted by: GoldenHarvey - May-29-2023, 07:57 PM - Forum: General Coding Help - Replies (3)

Hello, recent python user and coder. Just started learning one week ago. I recently installed python and pygame. inputted pip install pygame I got the..... More


Attached Files

Thumbnail(s)
   
Print this item

  Plot a pandas data fram via pyqtgraph with an modul import and qt designer widget
Posted by: Nietzsche - May-29-2023, 02:42 PM - Forum: General Coding Help - No Replies

Hello,

i would like to plot a pandas dataframe in a window which i include as a module in my main script and defined via qt designer (include and o..... More

Print this item

  How to compare boxplot bw many data frames?
Posted by: vanphuht91 - May-29-2023, 02:39 PM - Forum: Data Science - Replies (5)

I have many data frame like table below:
what I want is plot box plot of each column & compare line by line.
   
I'm new member, can ..... More


Attached Files

.xlsx   Book1.xlsx (Size: 17.42 KB / Downloads: 1)
Print this item

Video Sensor reading changes with temperature. Looking for a good way to calibrate.
Posted by: Tanjiro - May-29-2023, 07:31 AM - Forum: Data Science - Replies (1)

Newbie here.

I currently have a gas sensor connected to a raspberry pi. The sensor reading, however, is affected by temperature. I'd like to accou..... More

Print this item

  i need help pls
Posted by: augusto_A - May-28-2023, 01:44 PM - Forum: Game Development - Replies (2)

hi, im trying to implement a item colection sistem on my game but i cant understand why is not workin, the items are suposed to disapear wen you touch..... More

Print this item

  Click on googletranslator
Posted by: CH3RNO - May-27-2023, 01:28 PM - Forum: General Coding Help - No Replies

Please I need help.
I need it to run in the background while I'm in full screen playing, for example.
I get the code to call chrome, look for the tran..... More

Print this item

  Match statement
Posted by: Fabrizio_fg - May-27-2023, 09:20 AM - Forum: Game Development - Replies (5)

I' m tryng to use the match statement to manage different event.type but givi me this error:

[output] File "Main.py", line 34
match event.key..... More

Print this item

Question [solved] compressing files with python.
Posted by: SpongeB0B - May-26-2023, 02:54 PM - Forum: General Coding Help - Replies (1)

Hi everyone,

I'm looking for Pytonic readable way to compress files.

I've found https://docs.python.org/3/library/gzip.html

with which I came..... More

Print this item

  remote work
Posted by: MCL169 - May-26-2023, 01:58 PM - Forum: Jobs - Replies (1)

I am changing careers later in life and started back to school. I want to have the freedom to work remotely and stay employable. I'm finishing up my f..... More

Print this item

  Notice about PyPi and your security
Posted by: Larz60+ - May-26-2023, 11:36 AM - Forum: News and Discussions - No Replies

FYI:
Just read this one: PiPi Hands over user data

Print this item

  Openpyxl module breaking my code
Posted by: EnderSM - May-26-2023, 10:44 AM - Forum: General Coding Help - Replies (5)

I was working on a discord bot and wanted to scrape data from an excel spreadsheet so I installed the pandas library and imported it into my file. I w..... More

Print this item

  FTS5 again
Posted by: DPaul - May-26-2023, 07:13 AM - Forum: Bar - No Replies

FTS5 again, and not for the last time. Sad
I have a hard time comparing the various docs we have uncovered,
and making sense of what they try to..... More

Print this item

  Software Engineer - Backend at Rapyuta Robotics
Posted by: djangojobs.net - May-26-2023, 06:09 AM - Forum: Jobs - No Replies

Learn More from
djangojobs.net/jobs/1190/software-engineer-backend-rapyuta-robotics/

Koto City,Tokyo,Japan

Description

Our Tokyo engineering..... More

Print this item

  The way to chase how the set of integer is iterated in mutating loop
Posted by: khei4 - May-26-2023, 05:49 AM - Forum: General Coding Help - Replies (4)

Hi! I'm new to Python source code reading, but I'm curious and I want to chase the following example's execution on CPython source level
[python]
x ..... More

Print this item

  Badly defined python code?
Posted by: Ken76 - May-25-2023, 08:01 PM - Forum: General Coding Help - Replies (2)

I get following error message with my python code.
[i] File "/home/ken/Programming/temp.py", line 20
try:
IndentationError: unexpected indent[/..... More

Print this item

  Simple Question - ' defined as "a". ?'
Posted by: Ryan012 - May-25-2023, 01:37 PM - Forum: General Coding Help - Replies (10)

I have one error for no defined as "a". How can we define "a"? Angel Blush

import a as l

def sum (x, y):
return x + y


..... More


Attached Files

Thumbnail(s)
   
Print this item

  Handshake ( Server Hello )
Posted by: JohnnyCoffee - May-25-2023, 10:38 AM - Forum: Networking - Replies (2)

Do I need to send a ( Server Hello ) as a response to the handshake ( Client Hello ) received, but I couldn’t find out why it doesn’t work? If I can h..... More

Print this item

  getting wrong source IP address using socket and struct
Posted by: billykid999 - May-25-2023, 08:56 AM - Forum: Networking - Replies (1)

I'm sending a ping from a lab environment to my looback on machine. Whether I send the ping sourced from routers in the lab, virtual ips on my pc, oth..... More

Print this item

Question How to annotation type?
Posted by: gamecss - May-25-2023, 03:20 AM - Forum: General Coding Help - Replies (4)

There is a simple function.
[python]
def func(a: AnyStr, *b: AnyStr) -> Tuple[Optional[AnyStr], AnyStr]:
for _b in b:
if a.startswith(_b):
..... More

Print this item

  Application becomes unresponsive as soon as i use the buttons
Posted by: AX_LEARNS - May-25-2023, 01:41 AM - Forum: GUI - Replies (2)

Not sure on why it happens as im still very new to python... Any suggestions or can you guys see any reason of why it might be happening??

[python]..... More

Print this item

  Problem with playing sounds
Posted by: jderickson - May-24-2023, 08:03 PM - Forum: General Coding Help - Replies (5)

Hello,
New poster here. I've been having a problem that I don't know if it is related to Python or to Debian Linux. I have written a very simple scri..... More

Print this item

  Installing From Pip Using -f
Posted by: nyoungarcc - May-24-2023, 06:51 PM - Forum: General Coding Help - Replies (3)

Hello,


I am trying to install a requirements.txt file. This is what it consists of.
[output]
torch~=2.0.0
torchvision==0.10.0+cu102 -f https:/..... More

Print this item

  Minimax algorithm
Posted by: freethrownucleus - May-24-2023, 05:12 PM - Forum: Game Development - Replies (3)

Is there anyway I can make my minimax algorithm stronger? (For a tic-tac-toe game.)

[python]
def minimax(mark, square, alpha=-1000, beta=1000, dep..... More

Print this item

  Sqlite not updating
Posted by: angus1964 - May-24-2023, 04:37 AM - Forum: General Coding Help - Replies (21)

I have a program that records score when practicing darts, then shows them in a high score table.
[python]
def addToDb(self):
name = self.n..... More

Print this item

  Possible to create an object inside another object that is visible outside that objec
Posted by: MeghansUncle2 - May-24-2023, 01:10 AM - Forum: General Coding Help - Replies (17)

I know it sounds confusing so I'll try to illustrate the question

in Main:

self.myobj = myclass


self.myobj(parameters)
..... More

Print this item

  How do I suppress "Cmd exec error."
Posted by: xplet - May-23-2023, 09:49 PM - Forum: Networking - Replies (1)

How do I suppress "Cmd exec error."


[python]
import paramiko

# ...

cli_x = "something unknown"
ssh_client = paramiko.SSHClient()
stdin,..... More

Print this item

  How do i listen to loopback address on my local computer, without a port
Posted by: billykid999 - May-23-2023, 08:30 PM - Forum: Networking - Replies (6)

I want to listent to my loopback address on my windows PC, without attaching it to a port. I want to listent to any messages, or ICMP pings sourced fr..... More

Print this item

  [solved] list of list with one or more empty one
Posted by: paul18fr - May-23-2023, 05:39 PM - Forum: Data Science - Replies (5)

Hi

Without using a loop, is there a way to find an empty list as showing in the following example?

The idea is to find the location and t..... More

Print this item

  What is the fastest way to get all the frames from a video file?
Posted by: glorsh66 - May-23-2023, 03:33 PM - Forum: General Coding Help - Replies (3)

What is the fastest way to get all the frames from a video file?

Print this item

  infinity jump problem
Posted by: augusto_A - May-23-2023, 02:12 PM - Forum: Game Development - Replies (3)

hey hi, i add jump to my game but the charracter can keep jumping infinitely, how do i fix that? heres my code
[python]import pygame, sys

leve..... More

Print this item

  SQLite question
Posted by: DPaul - May-23-2023, 07:04 AM - Forum: General Coding Help - Replies (3)

Hi,
I am using SQLite (version 2.6.0)
Somewhere in the code I need to check if there is an active connection to a database.

In mySQL there is someth..... More

Print this item

  Updating Code And Having Issue With Keys
Posted by: Xileron - May-23-2023, 04:51 AM - Forum: General Coding Help - Replies (8)

Hello, I'm currently updating some code from a plug-in for Maya (the animation software) from Python 2 to Python 3 and noticed I was having some issue..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Apple Iphone 17 Price Ger... 1 hour ago sydnydarkz9407 sydnydarkz9407 General Codin...
  Willing to pay for help w... 3 hours ago braillescribe Pedroski55 General Codin...
  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...
  [PyQt] Switching from bat... 12-23, 21:38 arbiel arbiel GUI
Most views
  The best Prog... 580388
  Tutorial Requ... 519308
  Web Scraping ... 442776
  Newbie with P... 386970
  New Users Int... 386403
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
sydnydarkz9407 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