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,394
» Latest member: braillescribe
» Forum threads: 38,822
» Forum posts: 176,022

Full Statistics

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

Latest Threads
Willing to pay for help w...
Forum: General Coding Help
Last Post: Pedroski55
1 hour ago
» Replies: 3
» Views: 81
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 117
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 260
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,080
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,920
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 155
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 92
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 160
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,299
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 121

 
  SQL FTS 5
Posted by: DPaul - May-17-2023, 06:12 AM - Forum: Bar - Replies (14)

Hi,
After OCR, I am left with texts that contain data.
I analyse these texts with python and put the relevant data into records that are inserted into..... More

Print this item

  Visual Studio for Python
Posted by: 357mag - May-16-2023, 10:06 PM - Forum: News and Discussions - Replies (4)

Just wondering what IDE you guys are using? I'm using WingWare which appears quite good. I was wondering if any of you are using Visual Studio for Pyt..... More

Print this item

  Visual Studio Code
Posted by: NewPi - May-16-2023, 09:52 PM - Forum: General Coding Help - Replies (3)

Hey,

I use Visual Studio Code and the Python extension.
When I hover over "random.choices(...)" it shows, that choices is a variable.

I don't u..... More

Print this item

  Supervised learning, tree based model - problems splitting data
Posted by: Pixel - May-16-2023, 05:25 PM - Forum: Data Science - No Replies

I am currently using a tree based model for self training purposes and there is one area of code I get stuck. I used One-hot code to extract addition..... More

Print this item

  Trying to install bdfr from github
Posted by: visionz199 - May-16-2023, 04:50 PM - Forum: General Coding Help - Replies (2)

For the past few hours I have been trying to install bdfr (https://github.com/aliparlakci/bulk-down...for-reddit) from github, but I can't find a ..... More

Print this item

  Translation
Posted by: AliceCu - May-16-2023, 04:39 PM - Forum: General Coding Help - Replies (2)

I don't understand why I have the result in English. I need to translate it in Russian
[python]from deep_translator import GoogleTranslator
import r..... More

Print this item

  TypeRoor reading json
Posted by: GreenLynx - May-16-2023, 08:54 AM - Forum: General Coding Help - Replies (3)

Hi,
I’m trying to read a json url however I’ve got this error:
“TypeError: list indices must be integers or slices, not str”

This is de json url:..... More

Print this item

  Plotting by Time, error
Posted by: mansoorahs - May-16-2023, 04:05 AM - Forum: General Coding Help - Replies (1)

Hi

Observing following error while plotting the series by time


[error]TypeError: float() argument must be a string or a real number, not 'date..... More

Print this item

  Excel Automation using Openpyxl
Posted by: pradyumnajpn - May-16-2023, 02:02 AM - Forum: General Coding Help - Replies (1)

Hi Experts,

Very new to python specially excel automation. Please suggest
I ve an excel template having a header and a sample data. Now depending ..... More

Print this item

  [solved] how to speed-up huge data in an ascii file ?
Posted by: paul18fr - May-15-2023, 07:31 PM - Forum: Data Science - Replies (4)

I've not paid any attention on that topic so far, but now I'm wondering how I can write (in a fast way) a huge amount of data in an [u][b]ascii file[/..... More

Print this item

  Database that can compress a column, or all data, automatically?
Posted by: Calab - May-15-2023, 05:53 PM - Forum: General Coding Help - Replies (3)

I have a Sqlite3 database that I use to store testing data. Most of the columns are small but one column can be HUGE as it stores the JSON results fro..... More

Print this item

  Index error help
Posted by: MRsquared - May-15-2023, 02:41 PM - Forum: General Coding Help - Replies (1)

Hi,

I am extracting historic data from a scraping website using the following code. However, I get the error 'IndexError: index 228 is out of bound..... More

Print this item

  Problem with Pyinstaller. No module named '_tkinter'
Posted by: tonynapoli2309 - May-15-2023, 02:38 PM - Forum: General Coding Help - No Replies

Hello, I'm trying to obtain a single exectuable file to run on my MAC M1.

I use Pyinstaller in this way:

[b]pyinstaller --onefile myproject.py[/..... More

Print this item

  [BeautifulSoup] Find </body>?
Posted by: Winfried - May-15-2023, 09:49 AM - Forum: Web Scraping & Web Development - Replies (3)

Hello,

Does someone know how to find the "</body>" closing bit in an HTML file?

[python]from bs4 import BeautifulSoup as bs

soup = bs("file...... More

Print this item

Lightbulb Swahili Frashcard program
Posted by: Milan - May-15-2023, 09:29 AM - Forum: Code sharing - No Replies

Hello team,

I would like to share a project.

It is a flashcard card program that helps people to learn Swahili words.

Swahili is a language s..... More

Print this item

Question Need help with NumPy Histogram function coding
Posted by: Triikey - May-15-2023, 09:08 AM - Forum: Homework - Replies (1)

Hi, I'm a student currently doing experimental work in a lab and need to analyse some data. The data includes sniffing data from animals and I need to..... More

Print this item

  Context-sensitive delimiter
Posted by: ZZTurn - May-15-2023, 08:19 AM - Forum: General Coding Help - Replies (9)

First: I didn't understand the moderator's message about 'labels' regarding my last post at all. I went to the link re: posting instructions but I'm a..... More

Print this item

  Start print a text after open an async task via button
Posted by: Nietzsche - May-15-2023, 06:52 AM - Forum: General Coding Help - No Replies

Hello, the code in this example: https://pastebin.com/FAnuZgW1 should open a GUI. After i open the GUI i have an button and start from this an async t..... More

Print this item

  Splitting vocals from .wav file
Posted by: cfescript - May-15-2023, 01:32 AM - Forum: General Coding Help - Replies (1)

I am trying to take a .wav file and extract the vocals from it. I want to use the vocals to move the mouth of something to sing along to a song. I tri..... More

Print this item

  OR-Tools LP Limit Number of Elements in Solution
Posted by: idratherbecoding - May-14-2023, 11:02 PM - Forum: Data Science - No Replies

I have a relatively simple binary integer optimization problem and I am using Google OR-Tools' linear solver. I started the project in C#, but have si..... More

Print this item

  how can I call the API using python
Posted by: alifihri - May-14-2023, 10:09 PM - Forum: General Coding Help - Replies (5)

I'm using this code for a while and it worked well:

[python]# This is needed to send POST and GET requests
import requests
import csv
import num..... More

Print this item

  How do you get Python to print just one value in a list?
Posted by: 357mag - May-14-2023, 07:20 PM - Forum: General Coding Help - Replies (3)

If I just want Python to print the value in a certain index position in list how do I do it?

This is not giving me what I want:

[python]
number..... More

Print this item

  Surface and rectangle in pygame
Posted by: Fabrizio_fg - May-14-2023, 01:53 PM - Forum: Game Development - Replies (7)

Hello eveyone,

Just a stupid question:
in many tutorials found on internet to draw object on the window we use surfaces and rectangles.
first we ..... More

Print this item

  [SOLVED] [loop] Exclude ranges in… range?
Posted by: Winfried - May-14-2023, 01:36 PM - Forum: General Coding Help - Replies (2)

Hello,

I need to exclude pages in a loop, but those exceptions could be several pages, so I need to find a way to specify individual pages as well ..... More

Print this item

  NoReverseMatch at /
Posted by: pythonpaul32 - May-14-2023, 08:41 AM - Forum: Web Scraping & Web Development - Replies (2)

I am trying to make a hotel reservation app with Django, but I am completely stumped why I keep getting this error

NoReverseMatch at /
Reverse for..... More

Print this item

  Problem with colorkey
Posted by: Phidias618 - May-14-2023, 08:27 AM - Forum: Game Development - Replies (4)

Hello, in one of my project I encounter a problem with pygame.set_colorkey,
I have a code like this, where Sprite is just a class to load and get Spr..... More

Print this item

  More OCR
Posted by: DPaul - May-14-2023, 06:54 AM - Forum: Bar - Replies (6)

Hi,
It happens that some prayer cards are in poor condition or have poor print quality.
Amongst the zillions processed, they do not always stand out..... More

Print this item

  where is documentation for stat result attributes in PDF docs?
Posted by: Skaperen - May-13-2023, 11:50 PM - Forum: News and Discussions - Replies (5)

in The Python Library Reference there are three places i find lower case "st_mode". all three are in code samples. i find the same for lower case "s..... More

Print this item

  variable not defined inside a list comprehension
Posted by: Phidias618 - May-13-2023, 08:47 PM - Forum: News and Discussions - Replies (1)

Hello, in a program i have a class like this one but when in run the code i get that x is not defined, is this problem relative to list comprehension?..... More

Print this item

  combobox
Posted by: paulie70 - May-13-2023, 06:44 PM - Forum: GUI - Replies (3)

hello

i am new at python en gui tkinter my combobox don't show

[python]import tkinter
from tkinter import ttk



window = tkinter.Tk(..... More

Print this item

  Why there is not __break__ dunder method
Posted by: Phidias618 - May-13-2023, 02:42 PM - Forum: News and Discussions - Replies (4)

Hello,
Yesterday I ran into an issue, i try to iterate multiple time trough a custom class,
the class is a chess Board and iterating trough it would g..... More

Print this item

  TCP server syntax error
Posted by: wabbit - May-13-2023, 11:29 AM - Forum: Networking - Replies (2)

I'm trying to create a tcp server on python. Does anyone know why I'm receiving this syntax error despite defining 'server' earlier in the code. Is it..... More


Attached Files

Thumbnail(s)
   
Print this item

  Advancing Through Variables In A List
Posted by: knight2000 - May-13-2023, 03:30 AM - Forum: General Coding Help - No Replies

Hi guys,

I'm practising some simple webscraping on a website which has different categories and within each category, has a number of pages. What ..... More

Print this item

  Bundesbank API Problems
Posted by: illmattic - May-12-2023, 05:21 PM - Forum: Web Scraping & Web Development - Replies (2)

Hello,

So far I'm 0/2 on APIs. I am a beginner but I keep running into problems with APIs.

The German Bundesbank provides an API and the docume..... More

Print this item

  function on a different tab ?
Posted by: trix - May-12-2023, 04:28 PM - Forum: General Coding Help - Replies (30)

hello,

i,m programming a raspberry pi pico with the thonny IDE

its gonna be a big programm Smile
so i want to create some c..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Willing to pay for help w... 1 hour ago braillescribe Pedroski55 General Codin...
  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 ...
  Looking for constructive ... 12-24, 03:16 decuser cecrease News and Disc...
  [PyQt] Switching from bat... 12-23, 21:38 arbiel arbiel GUI
  Exploring Different Pytho... 12-23, 13:01 girish_benvanshi ankitsharma32 News and Disc...
Most views
  The best Prog... 580388
  Tutorial Requ... 519290
  Web Scraping ... 442776
  Newbie with P... 386969
  New Users Int... 386391
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
braillescribe Yesterday
aurelio12282025 Yesterday
bejaminmaarleyo1374 Yesterday
taylorlitleoz476 Yesterday
desy845 Yesterday

User Panel Messages

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