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,566
» Latest member: kholdeman
» Forum threads: 38,632
» Forum posts: 175,020

Full Statistics

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

Latest Threads
The Crucial Importance of...
Forum: General Coding Help
Last Post: Martinjaw
1 hour ago
» Replies: 0
» Views: 25
Setting AST node lineno c...
Forum: General Coding Help
Last Post: deanhystad
4 hours ago
» Replies: 4
» Views: 171
How do select this table ...
Forum: Web Scraping & Web Development
Last Post: snippsat
9 hours ago
» Replies: 7
» Views: 241
[split] Simple webbot for...
Forum: Code Review
Last Post: AB073
Yesterday, 01:17 PM
» Replies: 0
» Views: 40
What Are the Most Overloo...
Forum: News and Discussions
Last Post: DeaD_EyE
Yesterday, 10:56 AM
» Replies: 1
» Views: 66
Wish to write a code for ...
Forum: General Coding Help
Last Post: Hasan2025
Yesterday, 06:40 AM
» Replies: 4
» Views: 963
I have a question
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 04:47 AM
» Replies: 1
» Views: 77
How to produce a CPU load...
Forum: General Coding Help
Last Post: Plyth
Yesterday, 02:19 AM
» Replies: 2
» Views: 108
Venv - Python Virtual Env...
Forum: General Coding Help
Last Post: Larz60+
Jun-17-2025, 02:23 AM
» Replies: 1
» Views: 118
Webscraping: Attendance L...
Forum: Web Scraping & Web Development
Last Post: Larz60+
Jun-17-2025, 02:20 AM
» Replies: 1
» Views: 105

 
  tkinter and crontab
Posted by: menator01 - Oct-16-2024, 03:15 PM - Forum: Bar - Replies (1)

Just wondering if anyone has gotten a tkinter app to run from crontab?
My goal is to get the Bubble app to run from crontab
I'm using Ubuntu 24.04.1..... More

Print this item

  Code for Crowdstrike
Posted by: snicol - Oct-16-2024, 03:05 PM - Forum: General Coding Help - Replies (3)

Hi

I'm very new to python

I found a python code on github to get information on crowdstrike but it happens that a value is null: “I think it is..... More


Attached Files

Thumbnail(s)
   
Print this item

  Tkinter fading bubble text
Posted by: menator01 - Oct-16-2024, 12:35 PM - Forum: Code sharing - Replies (1)

Was just playing around with popup bubble text. Cant seem to get more than one at a time to popup but, all will popup after the one before fades.
All..... More

Print this item

  [SOLVED] [Linux] Write file and change owner?
Posted by: Winfried - Oct-16-2024, 12:27 PM - Forum: General Coding Help - Replies (6)

Hello,

In a script in Linux, I need to write a text file, and then change its owner. The script will run as a cron job.

The following script doe..... More

Print this item

  python
Posted by: thetmsim - Oct-16-2024, 09:54 AM - Forum: Homework - Replies (1)

Problem Statement: Calculate the Average of Numbers

Write a Python program that:

Asks the user to enter five numbers.
Stores these numbers in a..... More

Print this item

  Web app with DB Crud can't pip install flask-mysqldb
Posted by: TheTiger - Oct-16-2024, 02:47 AM - Forum: Web Scraping & Web Development - Replies (4)

Hello Python Community

I'm following a Tutorial for making a Python web app with a CRUD. It requires to install flask (Ok!) and flask-mysqldb(which..... More

Print this item

  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 (2)

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: 116)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  The Crucial Importance of... 1 hour ago Martinjaw Martinjaw General Codin...
  Setting AST node lineno c... 4 hours ago voidtrance deanhystad General Codin...
  How do select this table ... 9 hours ago MarkMan snippsat Web Scraping ...
  [split] Simple webbot for... Yesterday, 13:17 AB073 AB073 Code Review
  What Are the Most Overloo... Yesterday, 10:56 shreyapatel DeaD_EyE News and Disc...
  Wish to write a code for ... Yesterday, 06:40 Hasan2025 Hasan2025 General Codin...
  I have a question Yesterday, 04:47 Clictithe Pedroski55 General Codin...
  How to produce a CPU load... Yesterday, 02:19 Calab Plyth General Codin...
  Venv - Python Virtual Env... 06-17, 02:23 DanneA Larz60+ General Codin...
  Webscraping: Attendance L... 06-17, 02:20 ThatsMe Larz60+ Web Scraping ...
  Convert any Python expres... 06-16, 14:06 voidtrance voidtrance General Codin...
Most views
  The best Prog... 572240
  Tutorial Requ... 484727
  Web Scraping ... 436785
  Newbie with P... 379611
  Thread remain... 351213
Most reputation
buran 581
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 450
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12065
buran 8173
snippsat 7336
deanhystad 6838
metulburr 5151
Top referrers
Googlepro 24
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
kholdeman Yesterday
AB073 Yesterday
ANOUAR33 Yesterday
gooberpat Yesterday
Clictithe Yesterday

User Panel Messages

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