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,561
» Latest member: Gichardfex
» Forum threads: 38,665
» Forum posts: 175,213

Full Statistics

Online Users
There are currently 232 online users.
» 0 Member(s) | 226 Guest(s)
Applebot, Google, Baidu, Yandex

Latest Threads
gpiozero buttons stop wor...
Forum: General Coding Help
Last Post: deanhystad
2 hours ago
» Replies: 7
» Views: 292
Code stoped working
Forum: News and Discussions
Last Post: Axel_Erfurt
4 hours ago
» Replies: 1
» Views: 54
Made my first Python prog...
Forum: Game Development
Last Post: Ricky1178
Yesterday, 11:12 PM
» Replies: 8
» Views: 10,670
How to package code for d...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 11:36 AM
» Replies: 2
» Views: 181
pip3 install certifi fail...
Forum: General Coding Help
Last Post: Pedroski55
Jul-15-2025, 08:52 AM
» Replies: 1
» Views: 130
My first python game : Ti...
Forum: Game Development
Last Post: walterliz
Jul-15-2025, 07:45 AM
» Replies: 8
» Views: 55,796
A penny doubled every day...
Forum: Homework
Last Post: walterliz
Jul-15-2025, 07:35 AM
» Replies: 6
» Views: 760
Exercise on reading a chu...
Forum: Homework
Last Post: walterliz
Jul-15-2025, 07:31 AM
» Replies: 3
» Views: 1,221
While loop is terminating...
Forum: Homework
Last Post: walterliz
Jul-15-2025, 07:29 AM
» Replies: 3
» Views: 459
Custom Sorting List of Di...
Forum: Homework
Last Post: walterliz
Jul-15-2025, 07:28 AM
» Replies: 3
» Views: 249

 
  Place QT Window in the middle
Posted by: AlphaInc - Jul-16-2023, 11:29 AM - Forum: GUI - Replies (10)

Hello,

I'm working on a Python Tool with Qt6 (I have created the UI with QT Designer) but I'm running into a few problems...
This is my code so fa..... More

Print this item

  Likert survey data plot error
Posted by: Andrzej_Andrzej - Jul-15-2023, 08:45 PM - Forum: General Coding Help - Replies (6)

Hi,
I just have read and checked that idea here:
..... More

Print this item

  scrapli
Posted by: albazi - Jul-15-2023, 07:20 PM - Forum: General Coding Help - Replies (1)

Greetings all,
I am new to python and trying to implement the following scenario

[python]from scrapli import Scrapli

my_device = {
"host..... More

Print this item

  How do I properly implement restarting a multithreaded python application?
Posted by: MrFentazis - Jul-15-2023, 07:15 PM - Forum: General Coding Help - Replies (1)

I have a fairly large application consisting of Flask and special software for a fairly complex system managed by a hand written task scheduler. I wan..... More

Print this item

  Duplicating values
Posted by: 007sonic - Jul-15-2023, 06:21 PM - Forum: General Coding Help - Replies (2)

I've somehow managed to duplicate my results for a short line of code used to extract the emails from a text document. I'm trying to figure out why th..... More

Print this item

  Recommendations for IMAP Push/IDLE library
Posted by: MikeFlorida - Jul-15-2023, 05:19 PM - Forum: General Coding Help - No Replies

Hello, I am to code a basic IMAP client to receive emails and then parse them out. I would like to take advantage of IMAP's IDLE extension to receiv..... More

Print this item

  doubling a number
Posted by: Skaperen - Jul-15-2023, 04:55 PM - Forum: General Coding Help - Replies (8)

i have a giant number in a str. i want to double it and get a str result, keeping all of the precision. int(number)*2..... More

Print this item

  Trouble with variable.
Posted by: angus1964 - Jul-15-2023, 02:17 PM - Forum: Web Scraping & Web Development - Replies (2)

In a django project, i have the function below. I am trying to increment the toGoFor variable each time the button is pressed.

I have the following..... More

Print this item

  Installation of packages to newest Python version from previous one
Posted by: Andrzej_Andrzej - Jul-15-2023, 07:21 AM - Forum: General Coding Help - Replies (3)

Hi,
Is it possible to check what python packages are installed let's say into my present 3.10.3 version
and get that list and somehow install it to..... More

Print this item

  The term 'pip' is not recognized as the name of a cmdlet, function
Posted by: michaelnicol - Jul-14-2023, 07:50 PM - Forum: General Coding Help - Replies (1)

I downloaded Python 3.11.4 via the launcher, and PIP does not work. Windows 64 bit

[quote]
Python 3.11.4 (tags/v3.11.4:d2340ef, Jun 7 2023, 05:45..... More

Print this item

  Difficulty in adapting duplicates-filter in script
Posted by: ledgreve - Jul-14-2023, 03:49 PM - Forum: General Coding Help - Replies (5)

Hello everyone,

I have a script to parse and extract annotated data from xmi-files. I did not write this script myself (person who did is not reach..... More


Attached Files

.py   Documentobject.py (Size: 182 bytes / Downloads: 184)
.py   parsexml_may2021_cvh3.py (Size: 33.68 KB / Downloads: 258)
.py   AnnotationsObject.py (Size: 974 bytes / Downloads: 213)
.py   Casobject.py (Size: 95 bytes / Downloads: 188)
.txt   lore.txt (Size: 19.74 KB / Downloads: 268)
Print this item

  Backconnect proxy, response timeout
Posted by: 3frenky3 - Jul-14-2023, 03:10 PM - Forum: Networking - Replies (1)

Good afternoon. The problem is not very complicated, but I can not find a solution.

[CODE]
def main_request(data, proxy='', type_of_proxy='socks5'..... More

Print this item

  1D plot frome 3D data
Posted by: layla - Jul-14-2023, 03:09 PM - Forum: Data Science - Replies (7)

Hi all, I use python and I want to draw a 1D curve from 3D data i.e. I have data in the form of x, y, z and in the fourth column a variable D Also, I ..... More

Print this item

  DataFRame.concat()
Posted by: nafshar - Jul-14-2023, 01:24 PM - Forum: General Coding Help - Replies (3)

I am trying to convert from DataFrame.append() which has been deprecated to DataFrame.concat() and having some issues with an otherwise working code a..... More

Print this item

  How to Prevent Double Submission in Django
Posted by: mactron - Jul-14-2023, 12:08 PM - Forum: Web Scraping & Web Development - Replies (1)

I would like to prevent double submission in Django. The problem arises when the user clicks on the back button in the browser. I know that I can use ..... More

Print this item

  How to start to learn and use python
Posted by: Zangolo - Jul-14-2023, 11:19 AM - Forum: News and Discussions - Replies (6)

Hi! I´m a student who needs to learn python for the Bachelor Thesis to generate code for optimize vehicle routes. What advices can u give me to start ..... More

Print this item

  IDE for python
Posted by: Andrzej_Andrzej - Jul-14-2023, 07:58 AM - Forum: General Coding Help - Replies (9)

What kind of IDE do you use for python ?
I use VS code which is almost OK, as it lacks context menu for output of the cells. Apart from that I find i..... More

Print this item

  code not working when executed from flask app
Posted by: ThomasDC - Jul-14-2023, 06:52 AM - Forum: General Coding Help - Replies (1)

Hi all!

To start I have to say i am new to Python...
But i mannaged to do nice things allready. But now have a problem that i just dont know how ..... More

Print this item

  chua osillator to audio file
Posted by: sddfds - Jul-13-2023, 11:07 PM - Forum: General Coding Help - No Replies

hello i would like to ask how to write the solution of the following chua oscillator program to an audio file. thanks very much.

https://stackoverf..... More

Print this item

  np.percentile returns wrong value?
Posted by: AceTylercholine - Jul-13-2023, 05:09 PM - Forum: General Coding Help - Replies (2)

After getting an unexpected value from scipy.stats.iqr I discovered the error was coming from np.percentile. Here's an example of my issue:

x=[1,1,..... More

Print this item

  Need help
Posted by: Yui_18 - Jul-13-2023, 04:44 PM - Forum: General Coding Help - Replies (3)

HI, I'm new to python, coding.
I want to install and use sushi to shift subtitle from one audio version to another


This is the code I need to run in..... More

Print this item

  A class of machine learning programs
Posted by: Led_Zeppelin - Jul-13-2023, 01:17 PM - Forum: General Coding Help - No Replies

There are several machine learning programs that will analyze a large amount of data. and try many models during a run. Each model has its accuracy pr..... More

Print this item

  Understanding a function
Posted by: ebolisa - Jul-12-2023, 05:54 PM - Forum: General Coding Help - Replies (3)

Hi,

I'd appreciate if someone can explain me the first function and what's used for since both yield the same results.

TIA.

[python]@lambda _..... More

Print this item

  Negative indexing/selecting working and not working
Posted by: Andrzej_Andrzej - Jul-12-2023, 04:19 PM - Forum: General Coding Help - Replies (21)

Hi,
I am new here, so please bear with me as I am beginner.
There is a code below, in which there is a function called compute_percentages.
I wou..... More

Print this item

  Coding error. Can't open directory
Posted by: EddieG - Jul-12-2023, 01:34 PM - Forum: General Coding Help - Replies (6)

IDLE can not open/ file directory even when the file existed on the directory.
Disk Location: C:\Users\hp\Desktop\Pythoncodes
Word text download fr..... More

Print this item

  Module Result
Posted by: EddieG - Jul-12-2023, 10:41 AM - Forum: General Coding Help - Replies (1)

I have been writing this code which must result in different result after running the code for heads and tails. I am having only one same result each ..... More

Print this item

  Code error from Fundamentals of Python Programming van Richard L. Halterman
Posted by: Heidi - Jul-12-2023, 04:34 AM - Forum: General Coding Help - Replies (12)

Hi I'm a novice and then maybe asking a stupid question for most of you. I am doing a study using the book Fundamentals of Python Programming by Richa..... More

Print this item

  Python rule about the space character surrounding the equal sign
Posted by: ineuw - Jul-12-2023, 02:07 AM - Forum: General Coding Help - Replies (10)

* In Linux Mint Cinnamon, I am using Autokey 0.96.0 which uses Python 3+.
* I was told that in Python, spaces must surround the = sign in variable as..... More

Print this item

  Freelancer Needed to Clean Up Pandas/Plotly Scripts
Posted by: devansing - Jul-11-2023, 05:22 PM - Forum: Jobs - Replies (4)

Hi,

I am looking for a freelance developer to help clean up a handful of small Pandas-based, statistical analysis scripts.

The main goals are:..... More

Print this item

  dictionary output to text file (beginner)
Posted by: Delg_Dankil - Jul-11-2023, 03:25 PM - Forum: Homework - Replies (2)

I'm trying to learn Python and I got stuck on something.
I'm looping through a dictionary and I'm printing out keys and their associated dictionary v..... More


Attached Files

.py   json_parser_1.py (Size: 25.76 KB / Downloads: 268)
Print this item

  PyOpenGL is not work
Posted by: PoseidonLin - Jul-11-2023, 06:14 AM - Forum: General Coding Help - Replies (5)

Terminal input:
pip install pyopengl
pip install pyopengl_accelerate

Code:
[python]import OpenGL.GL
import Op..... More

Print this item

  Error UserWarning: Unknown option ssl_ca_certs warnings.warn(str(exc))
Posted by: Vijayaraj - Jul-11-2023, 05:48 AM - Forum: General Coding Help - No Replies

When trying to run the below python code we are encountering this error (UserWarning: Unknown option ssl_ca_certs warnings.warn(str(exc)) )

[python]
..... More

Print this item

  Blender scripting
Posted by: the_jl_zone - Jul-10-2023, 08:48 PM - Forum: General Coding Help - No Replies

I'm trying to see if I can append vertices in Blender using a pre-written function. Here's my current script:

[python]
import bpy

scale=0.8
he..... More

Print this item

  [PY QT APP]HOW TO uniform build and distribution for different platforms
Posted by: djibb - Jul-10-2023, 01:36 PM - Forum: GUI - Replies (1)

Hi,

I maintain an pyQt6 + Opencv application which works under Linux and Windows.
Actually, we have :

under Linux :
-> deb installer (..... More

Print this item

  Controlling program with TCP commands
Posted by: lavacode - Jul-10-2023, 08:06 AM - Forum: General Coding Help - Replies (1)

Hi! I'm still quite new to Python, so apologies if I'm missing something really basic..

I have this code, which has speech recognition and then sen..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  gpiozero buttons stop wor... 2 hours ago duckredbeard deanhystad General Codin...
  Code stoped working 4 hours ago OldMan57 Axel_Erfurt News and Disc...
  [PyGame] Made my first Py... Yesterday, 23:12 andrerocha1998 Ricky1178 Game Developm...
  How to package code for d... Yesterday, 11:36 mayukun snippsat General Codin...
  pip3 install certifi fail... 07-15, 08:52 rb9594 Pedroski55 General Codin...
  My first python game : Ti... 07-15, 07:45 ForsakenDusk walterliz Game Developm...
  A penny doubled every day... 07-15, 07:35 esoyboy walterliz Homework
  Exercise on reading a chu... 07-15, 07:31 Nit_Picker walterliz Homework
  While loop is terminating... 07-15, 07:29 jumpsworthnow walterliz Homework
  Custom Sorting List of Di... 07-15, 07:28 aryasinner walterliz Homework
  Unable to define function... 07-15, 07:26 gmonroe walterliz Homework
Most views
  The best Prog... 572727
  Tutorial Requ... 485786
  Web Scraping ... 437181
  Newbie with P... 380147
  Thread remain... 351394
Most reputation
buran 581
snippsat 507
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12072
buran 8174
snippsat 7353
deanhystad 6861
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Gichardfex Today
OldMan57 Today
coolwaves4all Today
Stephenchers Today
chocheng211 Today

User Panel Messages

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