Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,237
» Latest member: lary_p
» Forum threads: 38,776
» Forum posts: 175,792

Full Statistics

Online Users
There are currently 33 online users.
» 0 Member(s) | 31 Guest(s)
Google, Bing

Latest Threads
I’m building a Python Dat...
Forum: GUI
Last Post: woooee
4 hours ago
» Replies: 1
» Views: 88
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:56 AM
» Replies: 4
» Views: 141
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Nov-08-2025, 10:39 AM
» Replies: 3
» Views: 121
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 123
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,245
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,377
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,575
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 201
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,207
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,457

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

  Webscrape from my webpage and store in database and send to grafana
Posted by: Armond - Jul-10-2023, 06:32 AM - Forum: General Coding Help - Replies (2)

Hi!

I want to webscrape a value from my webpage and send it to a database every 5 minutes and upload it to grafana.
I have done the webscrape pyth..... More

Print this item

  Howto do motion event on solely window and not the widgets on it?
Posted by: janeik - Jul-10-2023, 06:14 AM - Forum: General Coding Help - Replies (3)

I have a single window (root):
window = customtkinter.CTk() which holds several widges as (mapview,labels,combos....).

I use this function to get ..... More

Print this item

  ModuleNotFoundError: No module named 'eyed3'
Posted by: Wimpy_Wellington - Jul-09-2023, 07:50 PM - Forum: General Coding Help - Replies (3)

Sorry, I am new to Python...

I am trying to use eyed3 to update the tags on a number of mp3 files. I found eyed3 mentioned in some posts on the i..... More

Print this item

  How come my python shells are different?
Posted by: SuchUmami - Jul-09-2023, 05:15 PM - Forum: General Coding Help - Replies (2)

I'm using a shell on my desktop and I'm also using a shell on a remote desktop. They are different and I'm not able to work with the remote desktop la..... More

Print this item

  Code understanding: Need help in understanding dictionary code
Posted by: jt123 - Jul-09-2023, 01:13 PM - Forum: General Coding Help - No Replies

Below code is working fine to sum the price for each items. But I could not understand how values-Keys are filled in ordered dict - d.

[python]from..... More

Print this item

  What is the difference between Command Prompt and Sublimes
Posted by: yaoyao22 - Jul-09-2023, 11:35 AM - Forum: General Coding Help - Replies (1)

There are some Python codes which can only be run in Command Prompt, and can only be run in Sublimes? I am a new user of Python. But I am very familia..... More

Print this item

  What is the best way to merged csv files and commit them to a database?
Posted by: SuchUmami - Jul-09-2023, 07:47 AM - Forum: General Coding Help - Replies (2)

I have several csv files with different kinds of data on them. Currently I am making a dataframe for each one and then merging the dataframes. I also ..... More

Print this item

  How to fix this error: ModuleNotFoundError: No module named 'notears'
Posted by: yaoyao22 - Jul-09-2023, 07:43 AM - Forum: General Coding Help - Replies (2)

I want to run linear.py from the below website. But I always am stuck at line 90 of linear.py. How to fix the error? The linear.py code can be seen he..... More

Print this item

  math problem for experts
Posted by: miltmobley - Jul-08-2023, 08:24 PM - Forum: General Coding Help - Replies (5)

While testing python code to rotate 3d points, I tried:

cos_ = np.cos((90.0/360.0) * (2.0*np.pi))

cos(90) was reported as 6.123234e-17, inst..... More

Print this item

  [solved] What is the best/pytonic way to import with dependency ?
Posted by: SpongeB0B - Jul-08-2023, 07:46 PM - Forum: General Coding Help - Replies (2)

Hi everyone,

I would like to create a module (let's call it FooBar) that I could import in few of my "main" programs.

But the functions w..... More

Print this item

  subprocess for executing over CLI
Posted by: flash77 - Jul-08-2023, 05:05 PM - Forum: General Coding Help - Replies (5)

Hi,

this is my first attempt to execute something via CLI using python - I'm totally unexperienced with "subprocesses"...

I'm trying to execute ..... More

Print this item

  [WORKED AROUND] Problem installing elitech-datareader, 'cannot import build_py_2to3'
Posted by: NeilUK - Jul-08-2023, 04:14 PM - Forum: General Coding Help - Replies (4)

I am running python 3.8.10 in a virtual environment on Linux Mint 20.3. They are both pretty much on plain vanilla defaults, I tend not to muck around..... More

Print this item

  What's the best way for multiple modules to handle database activity?
Posted by: SuchUmami - Jul-08-2023, 12:09 PM - Forum: General Coding Help - Replies (3)

When I write to databases I am currently using locks so that other modules don't run into errors. I am new to programming and I was just wondering wha..... More

Print this item

  Elo rating
Posted by: smartangel - Jul-08-2023, 12:00 PM - Forum: General Coding Help - Replies (1)

i want to create in python a code to calculate the elo ratings of players, each row is a game, every game starts with 1500 points, and the game being ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] I’m building a ... 4 hours ago tsgiannis woooee GUI
  Two arguments in input fu... Yesterday, 00:56 Alfredd Pedroski55 General Codin...
  Backward compatibility qu... 11-08, 10:39 yutaozhou buran News and Disc...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
Most views
  The best Prog... 578717
  Tutorial Requ... 509343
  Web Scraping ... 441859
  Newbie with P... 385818
  New Users Int... 375245
Most reputation
buran 581
snippsat 510
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
lary_p Yesterday
Cristiano 11-08
Alfredd 11-08
clayote 11-08
yutaozhou 11-07

User Panel Messages

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