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,467
» Latest member: Shailesh
» Forum threads: 38,578
» Forum posts: 174,808

Full Statistics

Online Users
There are currently 968 online users.
» 0 Member(s) | 963 Guest(s)
Bing, Google, Yandex, Applebot

Latest Threads
class Blockage not projec...
Forum: General Coding Help
Last Post: deanhystad
11 hours ago
» Replies: 1
» Views: 139
Import vs from x import
Forum: General Coding Help
Last Post: snippsat
Yesterday, 04:09 PM
» Replies: 1
» Views: 79
Trouble with Average Calc...
Forum: General Coding Help
Last Post: Pate
Yesterday, 07:38 AM
» Replies: 4
» Views: 1,289
tracking version during r...
Forum: News and Discussions
Last Post: Skaperen
Yesterday, 12:25 AM
» Replies: 0
» Views: 74
Return a string or byte o...
Forum: General Coding Help
Last Post: snippsat
May-14-2025, 05:21 PM
» Replies: 5
» Views: 331
problems with netcdf if I...
Forum: General Coding Help
Last Post: Blaubart
May-14-2025, 04:02 PM
» Replies: 16
» Views: 1,120
Retired and Learning Pyth...
Forum: Code sharing
Last Post: BarbaraGonzalez
May-14-2025, 09:04 AM
» Replies: 1
» Views: 348
Pip help
Forum: General Coding Help
Last Post: Larz60+
May-14-2025, 05:57 AM
» Replies: 4
» Views: 395
Paste text with caret alr...
Forum: General Coding Help
Last Post: armorerratic
May-14-2025, 01:12 AM
» Replies: 2
» Views: 975
Library Management System
Forum: Homework
Last Post: deanhystad
May-13-2025, 01:56 AM
» Replies: 1
» Views: 210

 
  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: 173)
.py   parsexml_may2021_cvh3.py (Size: 33.68 KB / Downloads: 242)
.py   AnnotationsObject.py (Size: 974 bytes / Downloads: 201)
.py   Casobject.py (Size: 95 bytes / Downloads: 175)
.txt   lore.txt (Size: 19.74 KB / Downloads: 256)
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: 249)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  class Blockage not projec... 11 hours ago Azdaghost deanhystad General Codin...
  Import vs from x import Yesterday, 16:09 Calab snippsat General Codin...
  Trouble with Average Calc... Yesterday, 07:38 autodecay Pate General Codin...
  tracking version during r... Yesterday, 00:25 Skaperen Skaperen News and Disc...
  Return a string or byte o... 05-14, 17:21 Calab snippsat General Codin...
  problems with netcdf if I... 05-14, 16:02 Blaubart Blaubart General Codin...
  Retired and Learning Pyth... 05-14, 09:04 breacsealgaire BarbaraGonzalez Code sharing
  Pip help 05-14, 05:57 meditek Larz60+ General Codin...
  Paste text with caret alr... 05-14, 01:12 Wehaveall armorerratic General Codin...
  Library Management System 05-13, 01:56 annajoy deanhystad Homework
  smbus.SMBus i2c code whic... 05-12, 15:51 NewbyTyro NewbyTyro General Codin...
Most views
  The best Prog... 563951
  Tutorial Requ... 450444
  Web Scraping ... 428931
  Newbie with P... 363565
  Thread remain... 336075
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12050
buran 8169
snippsat 7326
deanhystad 6827
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Shailesh Yesterday
jackdennis272 Yesterday
JeanChristophe 05-14
EZEKIELGRAPHICSMEDIA 05-14
BarbaraGonzalez 05-14

User Panel Messages

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