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,418
» Latest member: arturioworker
» Forum threads: 38,542
» Forum posts: 174,658

Full Statistics

Online Users
There are currently 440 online users.
» 0 Member(s) | 431 Guest(s)
Bing, Yandex, Google, Applebot, Facebook Dev

Latest Threads
Get the string after a sp...
Forum: General Coding Help
Last Post: JanJan
40 minutes ago
» Replies: 3
» Views: 160
where should DEFAULT_CIPH...
Forum: General Coding Help
Last Post: Larz60+
Today, 09:51 AM
» Replies: 1
» Views: 147
I am sending messages usi...
Forum: General Coding Help
Last Post: Hendrikb
Today, 09:38 AM
» Replies: 0
» Views: 71
function arguments
Forum: General Coding Help
Last Post: Gribouillis
Today, 06:48 AM
» Replies: 1
» Views: 132
[Beautiful Soup] Replace ...
Forum: General Coding Help
Last Post: Winfried
Today, 05:45 AM
» Replies: 1
» Views: 161
how to delete thread
Forum: Board
Last Post: DeaD_EyE
Yesterday, 07:30 PM
» Replies: 4
» Views: 284
Atari Ping Pong Game
Forum: Code sharing
Last Post: deanhystad
Yesterday, 05:04 PM
» Replies: 1
» Views: 161
not running
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 04:08 PM
» Replies: 2
» Views: 266
[split] How to continue c...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 04:02 PM
» Replies: 1
» Views: 140
Web Scraping / API
Forum: Jobs
Last Post: deepvyas
Yesterday, 01:40 PM
» Replies: 2
» Views: 471

 
  Bitcoin Machine Learning and Future forcaste
Posted by: Farrukhbuzdar - Dec-27-2024, 12:24 PM - Forum: Data Science - Replies (1)

I developed a script and encountering error. Need inputs to finalize script. I am using .csv file in script to analysize future price of #bitcoin
---..... More

Print this item

  Newcomer has a project in mind
Posted by: omexlu - Dec-27-2024, 08:29 AM - Forum: General Coding Help - Replies (1)

Hello,

I am completely inexperienced and new to Python, but have experience with every possible web programming language.

I have the following p..... More

Print this item

  Error in Raspberry Pi
Posted by: 1Curiousindividual - Dec-26-2024, 05:47 PM - Forum: General Coding Help - Replies (1)

Merry Christmas and good evening to everyone. I have a hand tracking code.I wrote the code by combining two different codes with chat gpt. I try to fi..... More

Print this item

  Popup window not coming
Posted by: RamanSMann - Dec-24-2024, 11:53 PM - Forum: GUI - Replies (2)

hi,
i am new to PyQt5. i am trying to make a GUI with the help of a tutorial. but popup window is not coming when i click the button

[python]
fro..... More

Print this item

  Sending Packages with Scapy
Posted by: yoda2247 - Dec-24-2024, 06:22 PM - Forum: General Coding Help - Replies (3)

Hello
I'm learning scapy and I have a problem: the TCP packets I send are leaving, but I don't get a response. I tried to disable the firewall and g..... More

Print this item

  Python Live Coding Training for Kids (8-18 age)
Posted by: jonathanluca - Dec-24-2024, 04:36 PM - Forum: Tutorial Requests and Submissions - No Replies

Hi,
I am an online tutor at Guruface an online learning platform which is providing ..... More


Attached Files

Thumbnail(s)
   
Print this item

  How to handle multiple audio uploads without canceling ongoing API requests?
Posted by: muba - Dec-24-2024, 03:42 PM - Forum: General Coding Help - Replies (2)

I’m building a web application where users can upload audio files, and each file is sent to an external API (Gemini API) for processing. However, I’m ..... More

Print this item

  How to umount on a closed distro
Posted by: ebolisa - Dec-24-2024, 01:57 PM - Forum: General Coding Help - Replies (5)

Hi,

I'm running an old motioneye distro on a Raspberry Pi with python 2.7. It's working fine but it has filenames read-write only.

Because I'd l..... More

Print this item

  If I need to do regex replacement 27000 times, how to shorten it?
Posted by: tatahuft - Dec-24-2024, 06:14 AM - Forum: General Coding Help - Replies (4)

If I need to do regex replacement 27000 times with different pattern search and replacement, how to shorten it?

[python]import re
from _Arm64HexDa..... More

Print this item

  How to write variable in a python file then import it in another python file?
Posted by: tatahuft - Dec-24-2024, 04:38 AM - Forum: General Coding Help - Replies (4)

How to write variable in a python file then import it in another python file?
[python]hex_mova64w0c0 = "00008052"

hex_mova64w1c0 = "01008052"
hex..... More

Print this item

  Raspberry PI - PyAudio - Streaming to Web Page
Posted by: ultimatecodewarrior - Dec-24-2024, 04:34 AM - Forum: General Coding Help - Replies (2)

Hi All, trying to stream from the Microphone on the Raspberry PI. This chunk of code almost works on the PI to a browser window. I just don't hea..... More

Print this item

  [split] another problem with code
Posted by: blakeusherremix68 - Dec-23-2024, 11:36 PM - Forum: General Coding Help - No Replies

Hello. I need help with this:

print1 = "print("
print2 = "dogma"

print(f"My name is {print1}{print2} years old.")

IF i am trying to includ..... More

Print this item

  xl() function key error
Posted by: EricAshton - Dec-23-2024, 03:58 PM - Forum: General Coding Help - No Replies

So the Microsoft Excel preview version includes python integration. I am having trouble with it and I posted on the MS office preview forum but the Mi..... More

Print this item

  another problem with code
Posted by: zane108 - Dec-22-2024, 05:13 PM - Forum: General Coding Help - Replies (7)

What is wrong with my code listed below? Thanks in advance for your assistance!

Instructions:
You are given three numbers as input. Write a progra..... More

Print this item

  Getting an error while trying to process data, low memory when memory is not low?
Posted by: bkeith12 - Dec-20-2024, 02:52 PM - Forum: General Coding Help - No Replies

Im using a program called PING Mapper to process side scan sonar. I usually work in MATLAB so I don't have a ton of experience in Python, this PING Ma..... More


Attached Files

.txt   error_2024-12-20_0638.txt (Size: 3.38 KB / Downloads: 60)
Print this item

  How to run shell command, capture the output, then write it into textfile?
Posted by: tatahuft - Dec-20-2024, 06:27 AM - Forum: General Coding Help - Replies (4)

How to run shell command, capture the output, then write it into textfile?

I tried to use code below:
[python]from subprocess import run


data..... More

Print this item

  plans for 2025.
Posted by: Celal - Dec-20-2024, 05:17 AM - Forum: Bar - Replies (3)

Do share here what is your plans for 2025.

What is the resolution for the next year?

I am looking for your exciting replies

Print this item

  How to convert while loop to for loop in my code?
Posted by: tatahuft - Dec-20-2024, 01:35 AM - Forum: General Coding Help - Replies (4)

I have a working script in python like this:
[python]import re

handle_file1 = open("example1.so", "rb")
hex_file1 = handle_file1.read().hex().upp..... More

Print this item

  Problems writing a large text file in python
Posted by: Vilius - Dec-19-2024, 10:40 AM - Forum: General Coding Help - Replies (4)

Hi,

I have developed this semi-scientific code that acts as a TCP server. It listen for incoming messages, processes those and stores it in the compu..... More

Print this item

  LLM data I/O - for storing notes
Posted by: Alkanet - Dec-19-2024, 09:08 AM - Forum: General Coding Help - No Replies

Looking to build out a local LLM system to read in notes that get stored quickly for prompting after. What is the best directory or file format for th..... More

Print this item

  Storing DictProxy object and modifying its nested value?
Posted by: haihal - Dec-19-2024, 01:25 AM - Forum: General Coding Help - Replies (3)

The standard multiprocessing.managers.BaseManager module does not permit or recognize the use of nested objects, forcing one to resort to `multiproc..... More

Print this item

  How to read a file as binary or hex "string" so that I can do regex search?
Posted by: tatahuft - Dec-19-2024, 01:03 AM - Forum: General Coding Help - Replies (3)

For example,
If I open a file using hex editor, it showed
3C 47 23 56 59 59 66 38 38 5C 67 3A 5A 70 29 32 47 25 28 63 5D 33 32 39 69 30 58 53 2B 4B ..... More

Print this item

  [fixed] Debugging in a remote server using VScode
Posted by: paul18fr - Dec-18-2024, 09:25 AM - Forum: News and Discussions - Replies (1)

Hi,

I'm wondering if an experienced user can help in debugging (python codes) in a remote server using VScode? especially when environments must be..... More

Print this item

  How can I make this code more efficient and process faster?
Posted by: steven_ximen - Dec-17-2024, 04:27 PM - Forum: General Coding Help - No Replies

The main function simulates receiving as much data as possible and then forwarding it to other subprocesses for processing. There will actually be mul..... More

Print this item

  Matplotlib not working
Posted by: svalencic - Dec-17-2024, 03:53 PM - Forum: General Coding Help - Replies (4)

Hi everyone,

I'm getting error while using Matplotlib. Importing it using import matplotlib.pyplot as plt works perfect, however any other function..... More

Print this item

  Asyncio subprocess blocking with python workload only
Posted by: lloydbond - Dec-17-2024, 03:03 PM - Forum: General Coding Help - Replies (1)

issue: if you start a subprocess that has a pipe to stdout for the purpose of concurrently processing output from stdout using asyncio everythi..... More

Print this item

  Search in a file using regular expressions
Posted by: ADELE80 - Dec-17-2024, 10:48 AM - Forum: General Coding Help - Replies (2)

Hello all,

I have the following file with DB_BASE commented:

profile.txt

export DB_SID=NEW
#export DB_BASE=/oracle/${DB_SID}
export DB_HOME..... More

Print this item

  Using place for a button, many examples but AttributeError, tkinter
Posted by: Edward_ - Dec-16-2024, 04:17 PM - Forum: GUI - Replies (3)

This must be very simple, how to Place a button by x and y coordinates, not using a frame/grid.

button.place(x=100, y=200)
Shown in e..... More

Print this item

  button image changing but not visually updating
Posted by: RuaridhW - Dec-16-2024, 09:48 AM - Forum: GUI - Replies (2)

Hi complete noob but i've been banging my head against this for 2 days and still can't work out what i'm doing wrong

So i am trying to setup a stack ..... More

Print this item

  Sound notification issue
Posted by: drgensel - Dec-16-2024, 05:24 AM - Forum: GUI - Replies (2)

Greetings,

I have designed an app, in tkinter, that pulls live incident (call) data from my local fire department. My goal for this app is to be no..... More

Print this item

Lightbulb (Series) Advanced Game Design Articles for Setting Up an Infinite Metagame
Posted by: Reactorcore - Dec-15-2024, 08:49 PM - Forum: Game Development - No Replies

This is a series of game design articles written by me.

They're more on the advanced and mature side of topics that dive much deeper into the idea ..... More

Print this item

  Generative Density Approximation for Deterministic Point Patterns: Hopalong Attractor
Posted by: ratwolf - Dec-15-2024, 11:57 AM - Forum: Code sharing - Replies (2)

The "Hopalong" attractor (Martin’s map) shown as a Density Heatmap, which enables a 3D representation by mapping normalized density values ​​al..... More


Attached Files

Thumbnail(s)
               
Print this item

  Database search in python for MongoDB
Posted by: Abdul515001 - Dec-14-2024, 12:31 PM - Forum: General Coding Help - No Replies

I am trying to develop a application which search and fetch the information from MongoDB through natural language query. What is the best way to do ..... More

Print this item

Question A unexpected indent error
Posted by: Zyh3rbr0 - Dec-14-2024, 06:25 AM - Forum: General Coding Help - Replies (4)

Hello anyone in this forum;

I would like some help in my project.

Could anyone spot the error for me?

I encountered a SyntaxError about Unexp..... More


Attached Files

.py   password_picker.py (Size: 619 bytes / Downloads: 90)
Print this item

  Finding a job as a Python Developer
Posted by: keithgoff - Dec-13-2024, 03:43 AM - Forum: Jobs - Replies (1)

I'm currently a PHP/JavaScript full stack developer and I am looking to transition to being a backend Python developer. I have about 3/4 years experie..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Get the string after a sp... 40 minutes ago JanJan JanJan General Codin...
  where should DEFAULT_CIPH... Today, 09:51 Skaperen Larz60+ General Codin...
  I am sending messages usi... Today, 09:38 Hendrikb Hendrikb General Codin...
  function arguments Today, 06:48 Curbie Gribouillis General Codin...
  [Beautiful Soup] Replace ... Today, 05:45 Winfried Winfried General Codin...
  how to delete thread Yesterday, 19:30 Azdaghost DeaD_EyE Board
  Atari Ping Pong Game Yesterday, 17:04 Azdaghost deanhystad Code sharing
  not running Yesterday, 16:08 Azdaghost deanhystad General Codin...
  [split] How to continue c... Yesterday, 16:02 pythonnewbie62 deanhystad General Codin...
  Web Scraping / API Yesterday, 13:40 nautifi deepvyas Jobs
  Wish to write a code for ... Yesterday, 07:12 Hasan2025 Hasan2025 General Codin...
Most views
  The best Prog... 557353
  Tutorial Requ... 424383
  Web Scraping ... 422889
  Newbie with P... 350952
  Thread remain... 324887
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 325
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12034
buran 8165
snippsat 7320
deanhystad 6806
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
arturioworker Today
wayenia Today
davidmartin Today
donjon4500 Today
dadsdsdadsad Today

User Panel Messages

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