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,549
» Latest member: wa4ywm
» Forum threads: 38,623
» Forum posts: 174,992

Full Statistics

Online Users
There are currently 501 online users.
» 0 Member(s) | 497 Guest(s)
Bing, Baidu, Google, Yandex

Latest Threads
Predicitve Maintenance Pr...
Forum: General Coding Help
Last Post: DeaD_EyE
10 hours ago
» Replies: 2
» Views: 142
How do select this table ...
Forum: Web Scraping & Web Development
Last Post: Larz60+
11 hours ago
» Replies: 3
» Views: 136
Button color selection in...
Forum: General Coding Help
Last Post: wa4ywm
Yesterday, 05:55 PM
» Replies: 0
» Views: 64
Website bug
Forum: Board
Last Post: franksmith
Yesterday, 05:16 PM
» Replies: 3
» Views: 860
Retired and Learning Pyth...
Forum: Code sharing
Last Post: Larz60+
Yesterday, 09:29 AM
» Replies: 2
» Views: 686
JavaScript File?
Forum: Bar
Last Post: DeaD_EyE
Yesterday, 03:29 AM
» Replies: 2
» Views: 402
Port forwarding with frit...
Forum: Networking
Last Post: timonick
Jun-13-2025, 11:41 PM
» Replies: 3
» Views: 167
Intro to WebScraping
Forum: Web Scraping & Web Development
Last Post: Juliyana
Jun-13-2025, 04:29 PM
» Replies: 4
» Views: 6,031
tracking version during r...
Forum: News and Discussions
Last Post: Juliyana
Jun-13-2025, 04:22 PM
» Replies: 1
» Views: 500
How scan all ips from mai...
Forum: Networking
Last Post: Juliyana
Jun-13-2025, 04:17 PM
» Replies: 1
» Views: 137

 
  Button color selection in GNU Radio - Python ?
Posted by: wa4ywm - Yesterday, 05:55 PM - Forum: General Coding Help - No Replies

I don't know if this is a Python or GNU Radio question but I have already posted this twice on the GNU Radio list with no response.

I have a flowgr..... More

Print this item

  Predicitve Maintenance Project mit Arduino
Posted by: dannyg - Yesterday, 01:51 PM - Forum: General Coding Help - Replies (2)

Hi everyone,
I’m planning a small project to simulate predictive maintenance using Arduino and Python.

The idea is: I’m working with a small motor..... More

Print this item

  How do select this table for webscraping?
Posted by: MarkMan - Jun-13-2025, 02:51 PM - Forum: Web Scraping & Web Development - Replies (3)

Hello to this great forum:
I am trying to learn how to scrape data from websites with python.
From this website:
..... More

Print this item

  I am a newbie I like to use the command line
Posted by: Mikel2025 - Jun-13-2025, 12:32 PM - Forum: General Coding Help - Replies (1)

Hello community

I am new to python.
I have a very simple question:
I am a professional and testing python on a Cooperate Laptop which is clearly ..... More

Print this item

  can't use pyrepl: bad magic number in 'enum'
Posted by: eliastw85 - Jun-13-2025, 11:45 AM - Forum: News and Discussions - Replies (1)

Greetings,

How can I resolve the following error? Can't use pyrepl: bad magic number in 'enum' : b'\xd1\xf2\r\n' ?
I am using Python 3.13.4.

Thank y..... More

Print this item

  Challenge: Token
Posted by: Azdaghost - Jun-12-2025, 01:22 PM - Forum: Bar - Replies (2)

Hello Python Community!
I have a challenge:

Can you add 1 + 2 while only using the tokens?

RULES:
You cant use any modules
You cant create ne..... More

Print this item

Question Find windows and send keys?
Posted by: Winfried - Jun-12-2025, 08:16 AM - Forum: General Coding Help - Replies (1)

Hello,

On Windows at least, I wonder if Python can 1) find a window, and 2) simulate typing keys.

Currently, I run an AutoIt just for this, so ..... More

Print this item

  Port forwarding with fritzconnection
Posted by: timonick - Jun-12-2025, 05:01 AM - Forum: Networking - Replies (3)

Hey, I want to temporarily open ports using a Python script. I want to use fritzconnection for this. But I keep getting error 600 ("Argument Value Inv..... More

Print this item

  Unexpected token ';'
Posted by: Azdaghost - Jun-11-2025, 06:14 PM - Forum: General Coding Help - Replies (3)

Hello Python Community!
This is driving me insane, I keep getting this error:

Error:
Unexcepted token ';'
It dosen't give me which line i..... More

Print this item

Question Enabling tracebacks in Voila programatically
Posted by: Calab - Jun-11-2025, 01:08 PM - Forum: General Coding Help - Replies (2)

I have some code in a Jupyter notebook. When I run it locally. It works as expected. If I use Voila to render the notebook locally it still works. Whe..... More

Print this item

  How do I cancel a function while it's still running?
Posted by: The_Fruitass - Jun-10-2025, 09:16 PM - Forum: General Coding Help - Replies (4)

Good day!
My current project is to make a software to move a thing using motors.
What I have set up is an Interval move function, to move the thing o..... More

Print this item

  How scan all ips from main databse
Posted by: ramin_malek - Jun-10-2025, 05:31 AM - Forum: Networking - Replies (1)

   
Hi a want write code in python scan all ips in main database by nmap specify port by protocol ips by subnet if port 80 open add /3..... More

Print this item

  .value changing
Posted by: Azdaghost - Jun-09-2025, 02:11 PM - Forum: General Coding Help - Replies (1)

Hello! I'm trying to make a language and there's a problem.

Whenever I display the token, It displays something like this:
[python][TT_INT: 5][/py..... More

Print this item

  Crontab and python versions
Posted by: stsxbel - Jun-08-2025, 04:59 PM - Forum: General Coding Help - Replies (3)

Good day. Please help me figure this out. Ubuntu has 2 versions of python (3.6 and 3.9). Pymodbus (2.5.3 and 3.0) are installed via pip. So, when I ru..... More

Print this item

  Keyboard input on Android
Posted by: Lukas_Krejci - Jun-07-2025, 02:56 PM - Forum: Game Development - Replies (2)

Hello,
I am creating a simple game using pygame on Android platform and I am not able to receive any key events except for ESCAPE and arrow keys (the..... More

Print this item

  Help with code
Posted by: Ash - Jun-03-2025, 04:50 PM - Forum: Homework - Replies (5)

[python]import requests
import pyttsx3
import time

API_KEY = "ed13978dcbd44393abe5b31e8be20fef"
engine = pyttsx3.init()

def speaker(text):
..... More

Print this item

  Why cloudflare?
Posted by: Axel_Erfurt - Jun-02-2025, 07:58 PM - Forum: Board - Replies (8)

A cloudflare query has been annoying since today. Is that necessary?

Print this item

  List[] in Python needs so much times Machine Jumps and extra cost forMemMangament
Posted by: Codingdesigner12 - Jun-01-2025, 03:12 PM - Forum: Game Development - Replies (1)

With Machinery Perspectives

Print this item

Photo For Researching of the System built in Functions() for List(Array) in Python
Posted by: Codingdesigner12 - Jun-01-2025, 03:06 PM - Forum: Game Development - Replies (1)

[python]print ('Hello World')
goods1=[15,42,69];
goods2=[20,41,59];
goods3= [10,42,59];

goods1. append ("purple");
print(goods1,goods2,goods3..... More

Print this item

  NEW: Visualize Python Execution
Posted by: bterwijn - May-31-2025, 09:56 PM - Forum: News and Discussions - No Replies

Visualize your Python data to better understand your code using 'memory_graph': https://pypi.org/project/memory-graph/

Now available in:
- Visual Stu..... More

Print this item

  Start Idle in a virtual environment
Posted by: Pedroski55 - May-30-2025, 07:22 PM - Forum: General Coding Help - Replies (8)

This is a sad story.

Using my mobile phone and an app from Epson, I was setting up my printer to work with a new router. Everything was fine. Righ..... More

Print this item

  nltk installs but cannot be imported [SOLVED]
Posted by: sheepog - May-29-2025, 10:12 PM - Forum: General Coding Help - Replies (3)

I installed nltk in my virtual environment, but importing does not work. Please advise.
[output]
(venv) mel@Raccoonland:~/Documents/Foreign Countrie..... More

Print this item

  JavaScript File?
Posted by: Azdaghost - May-29-2025, 06:13 PM - Forum: Bar - Replies (2)

Hello! While I was debugging a project, I came across this:

var ρσ_ls, key; "6"
Anyone knows what it means? Gemini will just crash.

Print this item

  How to install Selenium on Python 3.6.15
Posted by: MarkMan - May-29-2025, 03:52 PM - Forum: Web Scraping & Web Development - Replies (4)

Hello,

I have an old computer with win7 and Python 3.6.16 installed. Is there a way to get Selenium installed and which version would i need?

G..... More

Print this item

  Using moviepy fails due to "ModuleNotFoundError: No module named 'pip._internal.utils
Posted by: sheepog - May-28-2025, 12:04 AM - Forum: General Coding Help - Replies (2)

[error]Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
..... More

Print this item

  EarnestPef
Posted by: Lhanelycle - May-27-2025, 09:18 PM - Forum: General Coding Help - No Replies

Hi there! Would you mind if I share your blog with my twitter group? There's a lot of people that I think would really appreciate your content. Please..... More

Print this item

  Error without reason
Posted by: Azdaghost - May-27-2025, 01:29 PM - Forum: General Coding Help - Replies (4)

Hello and I'm trying to make a custom language (again) and I came across this problem
I got an error but without an reason:

[error]
>>> 1
Traceb..... More

Print this item

Question [SOLVED] Open file, and insert space in string?
Posted by: Winfried - May-27-2025, 01:25 PM - Forum: General Coding Help - Replies (7)

Hello,

Before I look deeper, is there a simple way to loop through each line of a text file, and append a space within a string?

I need to perfo..... More

Print this item

  Nested Dictionaries, good programming practice?
Posted by: Curbie - May-26-2025, 09:06 PM - Forum: General Coding Help - Replies (6)

I’m still playing around with nested dictionaries trying to store an ancient and arcane file system in memory to implement a PC <> Alpha file transfer..... More


Attached Files

.txt   fs.txt (Size: 149.54 KB / Downloads: 24)
Print this item

  Picamera2 add text to camera preview
Posted by: GigiG - May-26-2025, 11:46 AM - Forum: General Coding Help - No Replies

I have a Picamera2 640*480 preview running on my 800*480 DSI LCD (see photo), so there is some free room at right (it's blue because I placed a blu im..... More


Attached Files

Thumbnail(s)
   
Print this item

  Enhancement for Python’s zipimport
Posted by: 14mhz - May-26-2025, 11:40 AM - Forum: Code sharing - Replies (1)

Hello~

There seem to be some little problems with Python's zipimport, so I tried to improve it.
Of course, zipimport is very very awesome. (Thanks to..... More

Print this item

  PYTHONHOME Variable correct setting
Posted by: msetzerii - May-25-2025, 11:48 PM - Forum: General Coding Help - No Replies

Running latest LibreOffice package on Fedora 42 saw message about recommendation to setting the PYTHONHOME environment variable.

Found lots of link..... More

Print this item

  Functions: why use a variable "display" in a UDF as a Boolean
Posted by: MMartin71 - May-25-2025, 04:05 PM - Forum: General Coding Help - Replies (3)

Hello,
Can someone explain why the following code includes the "display" variable in the function?

[python]def full_name(first, middle, last, di..... More

Print this item

  Unequal values when added with 0?
Posted by: Azdaghost - May-23-2025, 09:41 PM - Forum: General Coding Help - Replies (1)

Hello! I'm trying to make a rainbow cube and realized this
why does this output 0...

print(6%6)
but this outputs 6?
[python]print..... More

Print this item

  backtesting can't optimize
Posted by: Running_Code - May-23-2025, 03:19 PM - Forum: General Coding Help - Replies (1)

[python]from backtesting import Strategy, Backtest
import yfinance as yf
import pandas as pd
import numpy as np
import pandas_ta as ta

# === Do..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Predicitve Maintenance Pr... 10 hours ago dannyg DeaD_EyE General Codin...
  How do select this table ... 11 hours ago MarkMan Larz60+ Web Scraping ...
  Button color selection in... Yesterday, 17:55 wa4ywm wa4ywm General Codin...
  Website bug Yesterday, 17:16 Mike88 franksmith Board
  Retired and Learning Pyth... Yesterday, 09:29 breacsealgaire Larz60+ Code sharing
  JavaScript File? Yesterday, 03:29 Azdaghost DeaD_EyE Bar
  Port forwarding with frit... 06-13, 23:41 timonick timonick Networking
  Intro to WebScraping 06-13, 16:29 d1rjr03 Juliyana Web Scraping ...
  tracking version during r... 06-13, 16:22 Skaperen Juliyana News and Disc...
  How scan all ips from mai... 06-13, 16:17 ramin_malek Juliyana Networking
  can't use pyrepl: bad mag... 06-13, 15:26 eliastw85 Gribouillis News and Disc...
Most views
  The best Prog... 572168
  Tutorial Requ... 484685
  Web Scraping ... 436739
  Newbie with P... 379570
  Thread remain... 351205
Most reputation
buran 581
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12063
buran 8173
snippsat 7334
deanhystad 6835
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
wa4ywm Yesterday
dannyg Yesterday
Charlesnef Yesterday
Juliyana 06-13
Mikel2025 06-13

User Panel Messages

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