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,424
» Latest member: jorgeallwin32
» Forum threads: 38,546
» Forum posts: 174,672

Full Statistics

Online Users
There are currently 498 online users.
» 1 Member(s) | 491 Guest(s)
Apple, Bing, Google, Yandex, Google Image, jorgeallwin32

Latest Threads
How To Create A "Birthday...
Forum: General Coding Help
Last Post: jorgeallwin32
1 minute ago
» Replies: 4
» Views: 6,661
Picamera2 commands betwee...
Forum: General Coding Help
Last Post: GigiG
1 hour ago
» Replies: 0
» Views: 38
Automating the CyberGhost...
Forum: General Coding Help
Last Post: surendragupta
1 hour ago
» Replies: 0
» Views: 41
PyVisa Query Command fail...
Forum: General Coding Help
Last Post: dazz
2 hours ago
» Replies: 0
» Views: 47
where should DEFAULT_CIPH...
Forum: General Coding Help
Last Post: Larz60+
3 hours ago
» Replies: 4
» Views: 213
what name to give to a ne...
Forum: News and Discussions
Last Post: Skaperen
5 hours ago
» Replies: 2
» Views: 72
White Screen Issue with T...
Forum: General Coding Help
Last Post: encore
6 hours ago
» Replies: 3
» Views: 1,105
Get the string after a sp...
Forum: General Coding Help
Last Post: snl_9527
7 hours ago
» Replies: 5
» Views: 237
Eight Queens Problem, err...
Forum: General Coding Help
Last Post: snl_9527
11 hours ago
» Replies: 9
» Views: 558
I am sending messages usi...
Forum: General Coding Help
Last Post: Hendrikb
Yesterday, 09:38 AM
» Replies: 0
» Views: 93

 
  Dice detection using DBSCAN
Posted by: Termiik - Oct-15-2024, 09:50 PM - Forum: General Coding Help - Replies (4)

Hi there,

I'm trying to make dice detection system using a Raspberry with a camera. I want to use the live video feed for this.

Now I'm able to ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Best programming practice for imports
Posted by: Curbie - Oct-15-2024, 05:09 PM - Forum: General Coding Help - Replies (8)

It seems to this newbe, like python programs wants to be built-up from the smallest reusable routines as possible? If that is so, I could end up with ..... More

Print this item

  Art Project including face detection, screenshot and Face TEXTURE MAP
Posted by: ecaillerose - Oct-15-2024, 10:35 AM - Forum: General Coding Help - Replies (1)

Hi !

I'm a art student in France, who do a lot of programmation stuffs ; for one of my project i'm kind of stucked.

I'm doing a code in Python t..... More

Print this item

  Paste text with caret already positioned inside a placeholder;
Posted by: Wehaveall - Oct-15-2024, 10:23 AM - Forum: General Coding Help - Replies (1)

Hi guys, I have a text: "This is a test, %cursor%, got it?

Without explicit moving the caret after paste it inside a plain text editor, like notepa..... More

Print this item

  [SOLVED] [Linux] Run Python script through cron?
Posted by: Winfried - Oct-15-2024, 08:37 AM - Forum: General Coding Help - Replies (2)

Hello,

On a Debian host, I need to run a Python script through cron. The script will need to write a file elsewhere on the disk.

I have the foll..... More

Print this item

  Setting up IDE for Python with VS Code - Installing and using an extension
Posted by: TheTiger - Oct-14-2024, 01:49 AM - Forum: GUI - Replies (4)

Hello Python Community

I'm not so new to Python. I went following a tutorial for crud in web app in Python. The issue is I have to install flask. I..... More

Print this item

  locateOnScreen Issues
Posted by: Tio_RaRa - Oct-13-2024, 01:09 PM - Forum: General Coding Help - No Replies

Hello Everyone! This is my first post here, so be gentle. I'm trying to teach myself Python and have almost finished my first "project", but I've ru..... More

Print this item

  What is a faster way to deep copy a nested list without using .deepcopy()?
Posted by: Shervin_Ataeian - Oct-13-2024, 06:33 AM - Forum: General Coding Help - Replies (1)

I have two variables with the following structures:
[python]
# initialization
O1 = [[] for g in range(n)]
for i in range(n):
..... More

Print this item

  Help to fix my Temporizer
Posted by: Mike15 - Oct-12-2024, 10:40 PM - Forum: GUI - Replies (4)

I need help getting my timer to work.

This timer, when started, will have a decreasing time of 2 minutes, and when it reaches time 00:01 it will au..... More

Print this item

  Help with general program structure (OOP?)
Posted by: sin2pi - Oct-11-2024, 08:06 PM - Forum: Code Review - Replies (1)

Hi guys,

I am a student and currently working on a research project. I just want some input on my program design and hopefully someone with more ex..... More

Print this item

  word guessing game, hints
Posted by: STUdevil - Oct-11-2024, 07:54 PM - Forum: General Coding Help - Replies (1)

hello
i struggle hard with this project.
the gamer needs to guess a word and i have figured everything out bur i want to give the gamer some help...... More

Print this item

  Make a list
Posted by: learningpythonherenow - Oct-11-2024, 10:49 AM - Forum: General Coding Help - Replies (1)

Sorry for this format, just trying to figure this out.
i'm trying to take a string including many of (words, numbers, empty spaces, empty lines, multi..... More

Print this item

  [fixed] method overload using np.savetxt
Posted by: paul18fr - Oct-11-2024, 07:16 AM - Forum: Data Science - Replies (3)

Hi all,

In the following example, i'm trying to write numpy arrays having different sizes in a same file. [b][u]The goal is to use inheritance capa..... More

Print this item

  reduce CPU resources when using lot of "requests"
Posted by: kucingkembar - Oct-11-2024, 02:16 AM - Forum: News and Discussions - Replies (1)

hi, sorry for my bad English,
I have this old PC : Intel i5-4460 4x3.20GHz, Windows 11,
I use it for Python-related, including downloading m3u8 file..... More

Print this item

  Difference between tell() and seek(0, 1)
Posted by: tekberg - Oct-10-2024, 08:38 PM - Forum: General Coding Help - Replies (2)

I have a binary file being read from, but unfortunately the file object has no tell method.

As an example, assume the following shell command is ru..... More

Print this item

Exclamation How to get program to loop if input date is in the past?
Posted by: xander_thornton45 - Oct-10-2024, 07:30 PM - Forum: Homework - Replies (3)

I am currently taking a course in college, and they have given me an assignment about fixing the code they have given to me.
For this section I have ..... More

Print this item

  How can I get a programming job?
Posted by: shailesh1234 - Oct-10-2024, 11:00 AM - Forum: News and Discussions - Replies (2)

Help me to get a job in programming

What is the best way to learn programming?

How to get the skills to get into programming?

What is the ..... More

Print this item

  Python 3 advice
Posted by: Shrubbery - Oct-10-2024, 04:39 AM - Forum: General Coding Help - No Replies

Hello. I have been doing online Python 3 tutorials for some time now. And have learned quite a bit about variables, functions and loops, even lists, t..... More

Print this item

  How to enable Matplotlib within virtual environment?
Posted by: tetris_theMovie - Oct-09-2024, 10:08 PM - Forum: General Coding Help - Replies (1)

Cross posted from Linux Mint forum. So far I am unable to get Matplotlib to function i..... More

Print this item

  Help for Tiktok Script
Posted by: Jasson187512 - Oct-09-2024, 08:42 AM - Forum: General Coding Help - No Replies

Does anyone have a Tiktok follower script or can someone make one for me? I felt like I looked all over the internet and couldn't find anything

Print this item

  Stuck on Error
Posted by: parulkuls26 - Oct-09-2024, 04:11 AM - Forum: General Coding Help - Replies (1)

After running the below code

# Fitting the model and running the model for 10 epochs history4 = model4.fit( train_images, train_labels, epochs = 10..... More

Print this item

  [split] Help with my coding
Posted by: happy_nutella - Oct-08-2024, 03:08 PM - Forum: General Coding Help - Replies (1)

[python]material = input("What material is it? ")
length = float(input("What is its length in cm? "))
# Plastic goes into recycling bin.
if materi..... More

Print this item

Photo image generation with text style
Posted by: Belialhun - Oct-08-2024, 01:53 PM - Forum: General Coding Help - No Replies

Hi!

A respectful thank you in advance for your help

I would like to expand the functionality of my program. I want the program to recognize the [i] ..... More


Attached Files

.py   GeneratedPNG.py (Size: 10.3 KB / Downloads: 91)
Print this item

  Dice Rolling Simulator
Posted by: laurawoods - Oct-08-2024, 07:02 AM - Forum: Homework - Replies (1)

[code]import random

def roll_dice():
"""Rolls two six-sided dice and returns the sum."""
die1 = random.randint(1, 6)
die2 = random.randint..... More

Print this item

  How should I build this app?
Posted by: SuchUmami - Oct-08-2024, 01:13 AM - Forum: General Coding Help - Replies (1)

I made a really useful script that I would like to improve. It essentially keeps track of timeframes of a stock market chart and makes an overall tall..... More

Print this item

  PC why serial code = converting to ascii ?
Posted by: trix - Oct-07-2024, 02:26 PM - Forum: General Coding Help - Replies (11)

hello,

I have written a piece of code in virtual studio code on the PC that stores the data received via the USB in an, I think an array, bu..... More

Print this item

  Why the python is so slow?
Posted by: rohhthone - Oct-06-2024, 04:10 PM - Forum: General Coding Help - Replies (3)

1.07^600 somehow 4.268414741×10¹⁷ then 1.07 ^ 120 is 3357.78838289 times, so why the socium telling that asm to c is 1.07 and c to python is 1 to 600 ..... More

Print this item

  word game, how to give hints
Posted by: STUdevil - Oct-06-2024, 12:51 PM - Forum: General Coding Help - Replies (5)

i m new to all of the programming and i mlearning python right now.
i m learning right now loops for/while.
i need to write a word guessing game. i..... More

Print this item

  Rotake rect, image or text at its center
Posted by: LavaCreeperKing - Oct-06-2024, 02:45 AM - Forum: GUI - Replies (8)

Hi I think I ashed a question like this long ago on the old site, but I have lost my example code from back then.

I am working on a project for des..... More

Print this item

  change dataclass to frozen at runtime
Posted by: jpanico - Oct-05-2024, 07:46 PM - Forum: General Coding Help - Replies (2)

I'm working with a dataclass that is code-generated by a tool I do not control:

@dataclass
class Concern:
    id: ConcernID
N..... More

Print this item

  Output on displaying on GUI
Posted by: pytogui - Oct-05-2024, 02:50 PM - Forum: GUI - Replies (1)

I am facing an issue regarding my gui built using pyqt5. It is four button gui that clicks the button on count of 3 eye blinks and changes focus on 2 ..... More


Attached Files

.py   newpygui.py (Size: 20.91 KB / Downloads: 107)
Print this item

  Trouble Setting Up Selenium with FireFox (Python 3 on Windows 10))
Posted by: gw1500se - Oct-04-2024, 04:29 PM - Forum: General Coding Help - Replies (5)

I have a script that used to work with Python 2 and I have upgraded to Python 3. I have been going in circles trying different suggestions for solvin..... More

Print this item

  Help with my coding
Posted by: elgreedy - Oct-03-2024, 10:47 PM - Forum: General Coding Help - Replies (3)

Hello everyone,

I am noob in python so I need your help!
I tried my best to retrieve all the information of the houses in this website with a webs..... More

Print this item

  Trying to understand method
Posted by: Giri234 - Oct-03-2024, 09:29 PM - Forum: General Coding Help - Replies (1)

I am trying to understand the following code in home assisant integration. Is setup_platform method is ending on where it is returning None or ever..... More

Print this item

  Merge list
Posted by: Simso - Oct-03-2024, 09:53 AM - Forum: General Coding Help - Replies (2)

Hi,

how merge the first item of one list with the first item of another list.

first list:
D,B,C,

second list
5,2,7,

result should be
..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How To Create A "Birthday... 1 minute ago unigueco9 jorgeallwin32 General Codin...
  Picamera2 commands betwee... 1 hour ago GigiG GigiG General Codin...
  Automating the CyberGhost... 1 hour ago surendragupta surendragupta General Codin...
  PyVisa Query Command fail... 2 hours ago dazz dazz General Codin...
  where should DEFAULT_CIPH... 3 hours ago Skaperen Larz60+ General Codin...
  what name to give to a ne... 5 hours ago Skaperen Skaperen News and Disc...
  White Screen Issue with T... 6 hours ago evelynfreya encore General Codin...
  Get the string after a sp... 7 hours ago JanJan snl_9527 General Codin...
  Eight Queens Problem, err... 11 hours ago snl_9527 snl_9527 General Codin...
  I am sending messages usi... Yesterday, 09:38 Hendrikb Hendrikb General Codin...
  function arguments Yesterday, 06:48 Curbie Gribouillis General Codin...
Most views
  The best Prog... 557358
  Tutorial Requ... 424385
  Web Scraping ... 422894
  Newbie with P... 350954
  Thread remain... 324888
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+ 12035
buran 8165
snippsat 7320
deanhystad 6806
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
jorgeallwin32 Today
Smitdesuja Today
surendragupta Today
datachennai87 Today
dazz Today

User Panel Messages

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