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: Aymen
» Forum threads: 38,568
» Forum posts: 174,769

Full Statistics

Online Users
There are currently 511 online users.
» 0 Member(s) | 506 Guest(s)
Bing, Google, Yandex, Yandex Images, Baidu

Latest Threads
problems with netcdf if I...
Forum: General Coding Help
Last Post: Blaubart
3 hours ago
» Replies: 10
» Views: 490
[Python] Issue of Adding ...
Forum: General Coding Help
Last Post: Aymen
3 hours ago
» Replies: 0
» Views: 43
Review of a ping tool mad...
Forum: Code Review
Last Post: Axel_Erfurt
3 hours ago
» Replies: 1
» Views: 66
ModuleNotFoundError: No m...
Forum: General Coding Help
Last Post: Wimpy_Wellington
4 hours ago
» Replies: 3
» Views: 3,365
Monitor Computer Internal...
Forum: General Coding Help
Last Post: deanhystad
Today, 01:52 AM
» Replies: 3
» Views: 196
total Noob question: Why ...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 06:15 PM
» Replies: 5
» Views: 246
robocopy question
Forum: Bar
Last Post: Amilia
Yesterday, 03:07 PM
» Replies: 4
» Views: 1,775
Noob programmer - game of...
Forum: Homework
Last Post: russellbeckwith
Yesterday, 08:37 AM
» Replies: 4
» Views: 1,477
How to use isintance with...
Forum: General Coding Help
Last Post: buran
May-08-2025, 01:22 PM
» Replies: 3
» Views: 317
Gomoku game problem
Forum: General Coding Help
Last Post: snl_9527
May-08-2025, 12:10 AM
» Replies: 6
» Views: 535

 
  Pi modules and %timeit
Posted by: RockBlok - Dec-09-2023, 03:44 PM - Forum: Data Science - Replies (3)

I'm trying to compare different ways to use pi and I wanted to do something like this to test out the speed of assigning pi to a variable or using in ..... More

Print this item

  sounddevice errors ALSA audio
Posted by: marcomac01 - Dec-08-2023, 06:16 PM - Forum: General Coding Help - No Replies

Hello guys, i'm super new to this forum. My intention was to make use of PyMumble to make a client to make voice calls via Mumble.
I managed to liste..... More

Print this item

  File Checksum App
Posted by: rob101 - Dec-08-2023, 03:21 PM - Forum: Code sharing - No Replies

This application provides an easy to use GUI for checking the hash values of any file. The use case is for when you download a file for which the auth..... More


Attached Files

Thumbnail(s)
   
Print this item

  trax import error
Posted by: dhrsethi1 - Dec-08-2023, 10:43 AM - Forum: Data Science - No Replies

Hello,

When I try and import the trax library like this:

import trax
I get the below error. Any help would be greatly appreciated...... More

Print this item

Question Problem with collision of player and enemy
Posted by: Nekotrooper - Dec-08-2023, 06:24 AM - Forum: Game Development - Replies (1)

The game ends even though player did not touch the enemy in this code.
I do believe there is a problem with collision or with the image size of playe..... More


Attached Files

Thumbnail(s)
       
Print this item

  what is the Pythonic way to do os.execve()
Posted by: Skaperen - Dec-07-2023, 11:16 PM - Forum: News and Discussions - Replies (2)

what is the Pythonic way to do os.execve() with keyword arguments like stdout= and stderr= ? basically, i want a command to replace ..... More

Print this item

  Django: View is unable to find attributes of database model
Posted by: pythonpaul32 - Dec-07-2023, 06:38 PM - Forum: Web Scraping & Web Development - Replies (1)

I am trying to make a reservation system for a hotel using Django. I am getting this error when I try to finalize the reservation, I am unable to do s..... More

Print this item

  NameError: name 'predicted_labels' is not defined
Posted by: hobbyist - Dec-07-2023, 05:57 PM - Forum: Data Science - Replies (2)

Hello! I am trying to run the code from this tutorial: ..... More

Print this item

  Script getting reindexing only valid error
Posted by: cubangt - Dec-07-2023, 02:14 AM - Forum: General Coding Help - Replies (1)

So this script has been running perfecting fine for well over a month if not longer, script has not been modified or changed in anyway. The script doe..... More

Print this item

  Not able to install package caldwellpy and requirement txt file
Posted by: Samta282006 - Dec-07-2023, 12:55 AM - Forum: General Coding Help - Replies (1)

Hi,

I have tried to install the packages on Pycharm python and not able to do it.

For pip install caldwellpy or pip3 install caldwellpy

In ..... More


Attached Files

Thumbnail(s)
           
Print this item

  Not able to install caldwellpy package
Posted by: Samta282006 - Dec-07-2023, 12:18 AM - Forum: News and Discussions - Replies (1)

Hi,

When I run pip3 install caldwellpy then the package is unable to install on my machine. The below error is showing please help me how to fix it..... More

Print this item

  Return five most frequent words
Posted by: Elisabet - Dec-06-2023, 09:59 PM - Forum: Homework - Replies (6)

Hello, I'm pretty new to coding and have started attending an online course on programming techniques. I'm stuck on one part of an assignment where I ..... More

Print this item

  python connect to mssql
Posted by: wailoonho - Dec-06-2023, 07:47 AM - Forum: General Coding Help - Replies (7)

Hi, I'm new to python
I'm currently converting my .net application to python.

I'm trying to call database to extract some data.
I manage to call ..... More

Print this item

  Book
Posted by: DPaul - Dec-06-2023, 06:50 AM - Forum: Bar - Replies (2)

Hi,
My simple question: what book would you recommend for somebody
who wants to know more about chatgpt. ?
Not too complicated, but with add..... More

Print this item

  PySide6 Copy and Past from clipboard to QTableWedget
Posted by: zinho - Dec-05-2023, 03:16 PM - Forum: GUI - Replies (6)

Hi.

I'm using PySide6 - 6.6.0

I have UI maide by QTDesigner with 3 tables one of them called tb_segregados
When m..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  problems with netcdf if I... 3 hours ago Blaubart Blaubart General Codin...
  [Python] Issue of Adding ... 3 hours ago Aymen Aymen General Codin...
  Review of a ping tool mad... 3 hours ago suburbanprojects Axel_Erfurt Code Review
  ModuleNotFoundError: No m... 4 hours ago Wimpy_Wellington Wimpy_Wellington General Codin...
  Monitor Computer Internal... Today, 01:52 EdMcCauley deanhystad General Codin...
  total Noob question: Why ... Yesterday, 18:15 MarkMan deanhystad General Codin...
  robocopy question Yesterday, 15:07 DPaul Amilia Bar
  Noob programmer - game of... Yesterday, 08:37 Dazzalac russellbeckwith Homework
  How to use isintance with... 05-08, 13:22 Azdaghost buran General Codin...
  Gomoku game problem 05-08, 00:10 snl_9527 snl_9527 General Codin...
  500 Internal Server error... 05-07, 17:04 ppowell777 Larz60+ Web Scraping ...
Most views
  The best Prog... 561332
  Tutorial Requ... 439707
  Web Scraping ... 426547
  Newbie with P... 358366
  Thread remain... 331448
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+ 12046
buran 8168
snippsat 7324
deanhystad 6823
metulburr 5151
Top referrers
Googlepro 22
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Aymen Today
jijoh Today
evating619 Today
vinovasg Today
saramalilsa34343 Yesterday

User Panel Messages

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