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,590
» Latest member: pillow
» Forum threads: 38,665
» Forum posts: 175,229

Full Statistics

Online Users
There are currently 246 online users.
» 0 Member(s) | 241 Guest(s)
Google, Bing, Apple, Baidu

Latest Threads
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: MilesWeb
4 hours ago
» Replies: 5
» Views: 6,483
python GUI - which to use...
Forum: News and Discussions
Last Post: roshanchoudhary
6 hours ago
» Replies: 19
» Views: 11,565
multiplication table
Forum: Bar
Last Post: Skaperen
11 hours ago
» Replies: 3
» Views: 1,313
How to add Permanent Sign...
Forum: Board
Last Post: vmars316
Yesterday, 10:33 PM
» Replies: 5
» Views: 173
veri kazıma
Forum: Web Scraping & Web Development
Last Post: fehmikonkur
Jul-21-2025, 08:49 PM
» Replies: 9
» Views: 310
Post Body (for "Forum Usa...
Forum: Board
Last Post: hihi
Jul-20-2025, 06:17 AM
» Replies: 0
» Views: 85
None collapsing Tuple at ...
Forum: Code Review
Last Post: hihi
Jul-20-2025, 05:21 AM
» Replies: 0
» Views: 118
Label & OptionMenu widget...
Forum: GUI
Last Post: slate
Jul-20-2025, 02:21 AM
» Replies: 2
» Views: 188
Code stoped working
Forum: News and Discussions
Last Post: DeaD_EyE
Jul-19-2025, 10:55 AM
» Replies: 2
» Views: 200
ASCII-Codec in Python3 [S...
Forum: General Coding Help
Last Post: Gribouillis
Jul-19-2025, 08:53 AM
» Replies: 6
» Views: 10,616

 
  UART & I2C slow down a loop
Posted by: trix - Dec-23-2023, 05:37 PM - Forum: General Coding Help - Replies (4)

hello,

I am working on writing a program for a stepper motor with a driver (pulse/dir).
this is done with acc and decc.

in the part with the co..... More

Print this item

  output shape problem with np.arange
Posted by: alan6690 - Dec-23-2023, 10:53 AM - Forum: General Coding Help - Replies (5)

When I generate an array using np.arange(start=0, stop= 29 * 4.42, step=4.42), the output turns out to be an array of size (30,) where it should be of..... More

Print this item

  partial functions before knowing the values
Posted by: mikisDeWitte - Dec-22-2023, 03:04 PM - Forum: General Coding Help - Replies (4)

Hello python experts!

I'm working on a function ("salary_or_name_builder" in the example) that routes my input parameters to multiple functions.
I..... More

Print this item

  filtering a list of dictionary as per given criteria
Posted by: jss - Dec-22-2023, 12:26 PM - Forum: General Coding Help - Replies (5)

i have metadata and api_request as below.

[python]
metadata = [

{"path": "d/scripts", "name": "../"},
{"path": "d/scripts", "name": "..... More

Print this item

  uploading files from a ubuntu local directory to Minio storage container
Posted by: dchilambo - Dec-22-2023, 07:17 AM - Forum: General Coding Help - No Replies

I want to upload files (text and binary) from my local machine running ubuntu 20.04 to a Minio storage container also in the same machine.
below are..... More

Print this item

  Merging rows and adding columns based on matching index
Posted by: pythonnewbie78 - Dec-21-2023, 04:23 PM - Forum: Data Science - Replies (3)

Hello community, tried this a million different ways with pandas groupby but no luck, any help is appreciated. First year learning python and still tr..... More

Print this item

  Upload Files to Azure Storage Container
Posted by: phillyfa - Dec-21-2023, 03:53 PM - Forum: General Coding Help - Replies (6)

Hello,

I found the script online that uploads multiple JPG files. I changed it so I can upload multiple BLOB files, i.e.) csv, xls, etc. However,..... More

Print this item

  'pip' not recogmnized in windows prompt
Posted by: MaartenRo - Dec-21-2023, 08:09 AM - Forum: General Coding Help - Replies (1)

Hi,

I want to add a library in Python by typing

Quote:pip install python-docx
in de Windows command promp. I get the result[quote] 'pip' i..... More

Print this item

  Why I am not getting the Redirected codes using requests?
Posted by: nu1153495 - Dec-20-2023, 05:13 PM - Forum: General Coding Help - Replies (2)

Hi, thank you for spending your valuable time to help me. I have tried the following code to get the dead, redirected, alive URLs. But I am not gettin..... More

Print this item

  Virtual Env changing mysql connection string in python
Posted by: Fredesetes - Dec-20-2023, 04:06 PM - Forum: General Coding Help - No Replies

I have a script that uses a Virtual Environment and has a connection to mysql where the connection string has the host as localhost or 127.0.0.1, it w..... More

Print this item

Sad UnpicklingError: NEWOBJ expected an arg tuple.
Posted by: biyazelnut - Dec-20-2023, 03:16 AM - Forum: General Coding Help - No Replies

I'm new with this pickle and have to continue previous' code.

The code is about clustering data, and when I run, the error occurs:

[b]Unpickling..... More

Print this item

  openpyxl documentation
Posted by: OldMainframeProgrammer - Dec-19-2023, 09:25 PM - Forum: General Coding Help - Replies (3)

I started a project early last spring reading and updating an excel spreadsheet and got pulled off it for other activities. I'm now back to it. The ..... More

Print this item

  super() in class
Posted by: akbarza - Dec-19-2023, 11:57 AM - Forum: General Coding Help - Replies (1)

hi
in code:
[python]# from: https://roocket.ir/discuss/%D8%B9%D9%85%...8%B1%D8%AF-
# super-%D8%AF%D8%B1-%D8%A7%D8%B1%D8%AB-%D8%A8%D8%B1%D..... More

Print this item

Exclamation Please Help
Posted by: zohershmer - Dec-19-2023, 09:35 AM - Forum: Web Scraping & Web Development - Replies (5)

I need to fix this script

Thank you


[python]from selenium import webdriver
from time import sleep
import os
from selenium.webdriver.support..... More

Print this item

  Problem with flask on Mac
Posted by: David763 - Dec-17-2023, 07:17 PM - Forum: General Coding Help - Replies (13)

Hi everyone I’m running Mac OS Ventura 13.2 and I’m trying to install flask-mysqldb library using pip on the terminal by running the code :
pip in..... More

Print this item

  Create SQLite3 database with peewee
Posted by: Jim53_1980 - Dec-17-2023, 04:08 PM - Forum: General Coding Help - Replies (2)

Hello everybody,

I begin with peewee to create SQLite database. When I use the python code example supplied with the documentation, all works corre..... More

Print this item

  Multiplayer Tic Tac Toe
Posted by: shn - Dec-17-2023, 03:53 PM - Forum: Code sharing - No Replies

Hi all,
Here is a project that I developed to learn Twisted Python. It's a Tic Tac Toe game, where a player can create a room with a unique id and an..... More

Print this item

  response 404 or 500 when trying to get products/sales from woocommerce using python
Posted by: wailoonho - Dec-17-2023, 11:57 AM - Forum: Web Scraping & Web Development - No Replies

Hi
I'm trying to get product and sales data from woocommerce using python

here is my code

[python]
import json
from woocommerce import API
..... More

Print this item

  question about __slots__
Posted by: akbarza - Dec-17-2023, 07:10 AM - Forum: General Coding Help - Replies (1)

hi
in the code:( address of the code is line 2)
[python]# usage of slot to prevent of dynamical attribute change by user.
# https://realpython.com/..... More

Print this item

  Bar Chart
Posted by: James_S - Dec-17-2023, 06:27 AM - Forum: General Coding Help - Replies (5)

How to draw a bar chart of the column "CC" from a my.csv file (show below) to count occurrence in ascending order?

32, AA,BB,CC,DD,EE
41,monkey,do..... More

Print this item

  Rename first row in a CSV file
Posted by: James_S - Dec-17-2023, 12:57 AM - Forum: General Coding Help - Replies (3)

I don't know what I have done wrong. I want to rename the first row of the table:
[python]
renamed_df = pd.read_csv('my_data.csv')

# Change colum..... More

Print this item

  Colorama_EX
Posted by: alp3rkum - Dec-16-2023, 04:11 PM - Forum: Code sharing - No Replies

Ladies and gentlemen, here I am with my first public PyPI package. I've written an extension module to famous colorama module, which I've named as "co..... More


Attached Files

Thumbnail(s)
   
Print this item

  Checking for Validity of Variables
Posted by: RockBlok - Dec-16-2023, 03:53 PM - Forum: General Coding Help - Replies (2)

I'm playing around with globals and managing variables, and I want to be able to check if a variable exists without the program stopping. If the varia..... More

Print this item

Question [PyMuPDF] Grab all strings of a given size?
Posted by: Winfried - Dec-16-2023, 12:51 PM - Forum: General Coding Help - Replies (3)

Hello,

I need to loop through a bunch of PDFs, each containing one or more articles.

I notice titles can use different fonts, but all seem to ha..... More


Attached Files

Thumbnail(s)
   
Print this item

  mutable argument in function definition
Posted by: akbarza - Dec-15-2023, 10:54 AM - Forum: General Coding Help - Replies (1)

hi
the below code is in :
https://realpython.c[url=https://python-forum.io/thread-41300.html]..... More

Print this item

  Website ranking
Posted by: Benowen - Dec-15-2023, 05:17 AM - Forum: Bar - Replies (6)

Hello friends, I created a website six months ago but still did not get a good traffic to my website. I really want to rank my website on Google. Kind..... More

Print this item

  Expense Tracker Project
Posted by: dnviti - Dec-14-2023, 11:51 PM - Forum: Web Scraping & Web Development - No Replies

Hello!
I'm Daniele, 30 years old!
Seasoned dotnet developer, dropped working in the dotnet industry and then started studying python.

So after my lon..... More

Print this item

  Can anyone recommend me an ai?
Posted by: SuchUmami - Dec-14-2023, 11:48 PM - Forum: General Coding Help - Replies (1)

I want to scan some documents into an ai. These documents are too large for chatgpt. Is there an AI that works similarly to gpt but I am able to feed ..... More

Print this item

  Assigning conditional values in Pandas
Posted by: Scott - Dec-14-2023, 09:25 PM - Forum: Data Science - Replies (3)

Hi everyone,

I am playing around with some old code from online and am getting an error:

[python]for dataset in train_test_data:
dataset.lo..... More

Print this item

  Static type checking with PyPy
Posted by: pitosalas - Dec-14-2023, 08:39 PM - Forum: General Coding Help - Replies (1)

I am using type hints as an experiment to see the pros and cons. I am also using PyPy a an experiment with static type checking.

Here's an inconve..... More

Print this item

  Database connection problems [login, PyQt5, PySql]
Posted by: gradlon93 - Dec-14-2023, 07:41 PM - Forum: General Coding Help - Replies (5)

Hello Python community,

I'm working on a PyQt5 project and I'm experiencing an issue with a login dialog class that I'm struggling to resolve. Any ..... More

Print this item

  Why is bool(float("nan")) == True?
Posted by: EarthAndMoon - Dec-14-2023, 04:04 PM - Forum: Data Science - Replies (4)

Why is

bool(float("nan")) == True
?

Print this item

  problem with print lists
Posted by: MarekGwozdz - Dec-14-2023, 03:04 PM - Forum: General Coding Help - Replies (4)

>>> pprint(response.choices)
[output][Choice(finish_reason='length', index=0, message=ChatCompletionMessage(content='The time comple..... More

Print this item

  str.split() with separator grouping
Posted by: Skaperen - Dec-14-2023, 01:29 AM - Forum: News and Discussions - Replies (1)

if sep is not given when calling str.split(), it combines runs of white-space as a single separator. if sep is given, then each ..... More

Print this item

Information subprocess.Popen() suddenly giving me grief?
Posted by: davecotter - Dec-13-2023, 09:03 PM - Forum: General Coding Help - Replies (3)

[font=Courier New]C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>python3
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17)..... More


Attached Files

Thumbnail(s)
   
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Can I develop a live vide... 4 hours ago mtrkhan MilesWeb Web Scraping ...
  python GUI - which to use... 6 hours ago Johnse roshanchoudhary News and Disc...
  multiplication table 11 hours ago Skaperen Skaperen Bar
  How to add Permanent Sign... Yesterday, 22:33 vmars316 vmars316 Board
  veri kazıma 07-21, 20:49 fehmikonkur fehmikonkur Web Scraping ...
  Post Body (for "Forum Usa... 07-20, 06:17 hihi hihi Board
  None collapsing Tuple at ... 07-20, 05:21 hihi hihi Code Review
  [Tkinter] Label & OptionM... 07-20, 02:21 slate slate GUI
  Code stoped working 07-19, 10:55 OldMan57 DeaD_EyE News and Disc...
  ASCII-Codec in Python3 [S... 07-19, 08:53 AlphaInc Gribouillis General Codin...
  How scan all ips from mai... 07-18, 19:09 ramin_malek MaahirThomas Networking
Most views
  The best Prog... 572807
  Tutorial Requ... 485908
  Web Scraping ... 437268
  Newbie with P... 380300
  Thread remain... 351450
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+ 12071
buran 8175
snippsat 7350
deanhystad 6862
metulburr 5152
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
pillow Today
pigmentsantosh Today
roshanchoudhary Today
melraassina88 Yesterday
wasimkptw Yesterday

User Panel Messages

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