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,395
» Latest member: cruisesfares
» Forum threads: 38,823
» Forum posts: 176,026

Full Statistics

Online Users
There are currently 36 online users.
» 0 Member(s) | 30 Guest(s)
Bing, AOL, Google, AOL, Applebot

Latest Threads
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Today, 12:11 AM
» Replies: 1
» Views: 85
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Yesterday, 09:12 AM
» Replies: 1
» Views: 4,594
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 08:37 AM
» Replies: 4
» Views: 186
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Yesterday, 07:27 AM
» Replies: 7
» Views: 3,602
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 159
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 305
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,114
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,971
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 186
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 117

 
  oddspedia charts
Posted by: nicoali - Dec-05-2023, 08:52 AM - Forum: Web Scraping & Web Development - Replies (20)

from this website
https://oddspedia.com/football/italy/serie-a
for example from this event:
https://oddspedia.com/football/juventus-napoli-65193

[py..... More

Print this item

  setting STDOUT and/or STDERR
Posted by: Skaperen - Dec-05-2023, 07:10 AM - Forum: News and Discussions - Replies (7)

the script being developed will basically be like a shell script, running many command with some logic between many of them. at the start of the scri..... More

Print this item

  Python Alteryx QS-Passing pandas dataframe column inside SQL query where condition
Posted by: sanky1990 - Dec-04-2023, 09:43 PM - Forum: General Coding Help - No Replies

Hi Team
I have a alteryx module that uses python query component

Input to python is 1 column that has ~ 3M values. I read it inside python using ..... More

Print this item

  How do I classify colored images into 3 classes
Posted by: max22 - Dec-04-2023, 09:29 PM - Forum: General Coding Help - No Replies

I'm struggling with the problem to write a program for classifying images (which are just colors) into 3 groups. I expect to obtain from each image a ..... More


Attached Files

Thumbnail(s)
   
Print this item

  How does sqlite3 module determine value type
Posted by: mirlos - Dec-04-2023, 08:02 PM - Forum: General Coding Help - Replies (2)

Hi, I have a preexisting sqlite3 db with a teble of users with a varchar column for storing a password hash.

If the db is accessed through python ..... More

Print this item

  Regex replace in SQLite3 database
Posted by: WJSwan - Dec-04-2023, 07:17 AM - Forum: General Coding Help - Replies (1)

Can someone help me with the basic structure of a Python program to do a regex replace in a SQLite3 database?

Print this item

  looking for a math function
Posted by: Skaperen - Dec-04-2023, 03:20 AM - Forum: News and Discussions - Replies (10)

there is "sqrt()" in math. is there a function to calculate cube roots?

Print this item

  It doesn't use the pip module but old system: NumbaWarning: ..requires TBB version
Posted by: Pyan - Dec-02-2023, 05:02 PM - Forum: Data Science - No Replies

One Python program I want to use drops the warning:
[quote]NumbaWarning: The TBB threading layer requires TBB version 2021 update 6 or later i.e., TBB..... More

Print this item

  Multiprocessing: Threads work well. Processes don't work.
Posted by: viyubu - Dec-02-2023, 01:52 PM - Forum: General Coding Help - Replies (11)

Problem with Python 3.10.12 on a notebook with an AMD C60 processor, 4 GB RAM. Ubuntu 22.04.3.
Multiprocessing:
Threads work well. Processes don't w..... More

Print this item

  Advent of code 2023
Posted by: snippsat - Dec-01-2023, 04:13 PM - Forum: News and Discussions - Replies (2)

This year Advent of Code 🎄
Get harder as days pass bye,click on [Events] there all since 2015...... More

Print this item

  How to create a table with different sizes of columns in MS word
Posted by: pepe - Dec-01-2023, 01:55 PM - Forum: General Coding Help - Replies (8)

Hi,
I have a code to create a table in Microsoft word (see code below). The problem is that once the table is created, it has equal column size. I ne..... More

Print this item

  solve ODE with sympy
Posted by: Sergey_Novak - Dec-01-2023, 11:35 AM - Forum: General Coding Help - Replies (2)

Hello
Is it possible to solve this differential equation using sympy?
z'' + c * z = -sign(z')
I tried to solve it and got the following error:
[e..... More

Print this item

Question Scraping hex codes
Posted by: sophia_adams - Nov-30-2023, 04:05 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi guys,

I've got a python script which reads product urls from csv which have pre selected variants the pages.

The script visits the pages and shou..... More

Print this item

  Unpacking a dict with * or **
Posted by: msrk - Nov-30-2023, 02:40 PM - Forum: General Coding Help - Replies (4)

I can unpack a dict with the ** operator. But something strange happens if I try to unpack it with *. This may be obvious given that the * operator ..... More

Print this item

  Need an alternative to brute force optimization loop
Posted by: jmbonni - Nov-29-2023, 11:32 PM - Forum: General Coding Help - Replies (5)

Hello,
I have a function with 3 intricated loops to get the best parameters from about 16000000 combinations. This takes a lot of time.
I am looking..... More

Print this item

  need to compare 2 values in a nested dictionary
Posted by: jss - Nov-29-2023, 08:30 PM - Forum: General Coding Help - Replies (2)

i have a nested dictionary like below
[python]

from nested_lookup import nested_lookup

sample_dict = {
"data": {
"systemdata": [..... More

Print this item

  Need help with a code.
Posted by: HanzoSW - Nov-29-2023, 06:35 PM - Forum: General Coding Help - Replies (5)

I cant rally code, just use chat gbt to write it for me and it gave me almost a working code. What it does it take a .csv file and expands the columns..... More

Print this item

  use of shutil.copytree with ENOTDIR exception
Posted by: yan - Nov-29-2023, 09:46 AM - Forum: General Coding Help - Replies (2)

Hello,

First thank you to help people !

I would like to make a script to copy an entire tree for testing (folder, sub-folders, files).
I need a..... More

Print this item

  What script to paste folders
Posted by: thenewcoder - Nov-29-2023, 07:50 AM - Forum: General Coding Help - Replies (1)

Hello,

I'm new with python.
For my work i have to handle many files and folders.

I'm looking for a script which can copy a subfolder and past i..... More

Print this item

  Trying to scrape data from HTML with no identifiers
Posted by: pythonpaul32 - Nov-29-2023, 04:28 AM - Forum: Web Scraping & Web Development - Replies (2)

I am using selenium and beautifulsoup and trying to scrape data from an html structure like this

[output]<h2>Education</h2>
Entry1
<br>
Entry2
..... More

Print this item

  Copying the order of another list with identical values
Posted by: gohanhango - Nov-29-2023, 12:52 AM - Forum: General Coding Help - Replies (7)

I have a list containing a lot of serial numbers. Here are some of them:

hub_sn = [10001, 10002, 10003, 10004, 10005]

These serial numbers came ..... More

Print this item

  working directory if using windows path-variable
Posted by: chitarup - Nov-28-2023, 09:54 PM - Forum: General Coding Help - Replies (2)

Hello,

if have a Python-script in, let's say

d:\script\myScript.py

I add this to the windows path variable:

`PATH="...;d:\script;..... More

Print this item

  How is pandas modifying all rows in an assignment - python-newbie question
Posted by: markm74 - Nov-28-2023, 07:08 PM - Forum: General Coding Help - Replies (1)

Hi all,

This may be a data science question or just a Python newbie question, but I'm trying to fundamentally understand how pandas modifies all re..... More

Print this item

  Loop over an an array of array
Posted by: Chendipeter - Nov-28-2023, 03:50 PM - Forum: General Coding Help - Replies (1)

I have an array of arrays I want to loop over to return two arrays called hills and valleys. When looping through each element, we check the item at i..... More

Print this item

  Detecting Buttons - Suggestions?
Posted by: RockBlok - Nov-28-2023, 11:24 AM - Forum: GUI - Replies (3)

Good morning,

I'm looking for some advice on tutorials and self study. I'm working on automating some of my workflow because I use a lot of differe..... More

Print this item

  I want to create one resume parser api using Python Flask
Posted by: parthsukhadiya - Nov-28-2023, 09:05 AM - Forum: General Coding Help - Replies (1)

i want to create the resume parser for that i have usme many tool fort that like pyap,fitz,tempfile,spacyand etc like user hitting the our api..... More


Attached Files

.py   app.py (Size: 14.89 KB / Downloads: 267)
.py   app1.py (Size: 2.21 KB / Downloads: 236)
Print this item

  tic tac toe python minimax alpha beta
Posted by: FSNWRMH - Nov-28-2023, 08:08 AM - Forum: Homework - Replies (6)

Hi everyone I have this python code which works but is not optimal . Its a tic tac toe using minimax and alpha beta pruning .the computer is not selec..... More

Print this item

  numbers with decimals
Posted by: DPaul - Nov-28-2023, 07:45 AM - Forum: Bar - Replies (6)

Hi,
I'm embarrassed, a member already answered this question, some time ago,
I can't find the reply any more. Blush .
I wrote a program for a frie..... More

Print this item

  How to execute tempo changes in Mido?
Posted by: NickShredScott - Nov-28-2023, 05:16 AM - Forum: General Coding Help - No Replies

I'm attempting to create a simple Python script using Mido to execute the writing of a midi file that has tempo changes embedded. Right now I think I'..... More

Print this item

  How to remove some elements from an array in python?
Posted by: gohanhango - Nov-27-2023, 11:42 PM - Forum: General Coding Help - Replies (9)

I have a sorted list of integers that has about 4000 elements. I'm trying to remove every element that is above 550. I used remove() function for the ..... More

Print this item

  Python code review | Tkinter gui application
Posted by: Sr999 - Nov-27-2023, 11:05 PM - Forum: Code Review - Replies (19)

Hey, i am learning python for like 12-14days and i have finished my first complete gui project using tkinter because i am self learner i have no place..... More

Print this item

  troubles with tqdm
Posted by: max22 - Nov-27-2023, 08:01 PM - Forum: General Coding Help - Replies (2)

I have a problem with tqdm progress bar. I have a code like this my code with wrongly working tqdm
If I ha..... More


Attached Files

Thumbnail(s)
   
Print this item

  how to avoid deprecation notice
Posted by: merrittr - Nov-27-2023, 05:34 PM - Forum: General Coding Help - Replies (5)

Just wondering if there is a switch to stop a deprecation notice like the one below?


(env) [root@RHEL8-20230921 pyeztest]# ./jnprtest.py
/home/s..... More

Print this item

  Error with output
Posted by: djprasanna - Nov-27-2023, 02:25 PM - Forum: General Coding Help - Replies (1)

I have the following code, throwing the error: can some help out with the executable code for the same
[python]
import numpy as np
import matplotli..... More

Print this item

  [split] Why is there an output of None
Posted by: akbarza - Nov-27-2023, 10:53 AM - Forum: General Coding Help - Replies (1)

hi
I have a small question, but I did not know if i must open a new thread for it or not, so I ask here:
in the below code :
[python]class Request..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Opencv findContours Q Today, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... Yesterday, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... Yesterday, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... Yesterday, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
Most views
  The best Prog... 580420
  Tutorial Requ... 519611
  Web Scraping ... 442785
  Newbie with P... 386989
  New Users Int... 386566
Most reputation
buran 581
snippsat 511
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
cruisesfares Today
azam Today
zcharlesoogleto9533 Today
MaxTranslate Yesterday
pizofreude Yesterday

User Panel Messages

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