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,560
» Latest member: DanneA
» Forum threads: 38,627
» Forum posts: 175,002

Full Statistics

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

Latest Threads
Convert any Python expres...
Forum: General Coding Help
Last Post: voidtrance
1 hour ago
» Replies: 0
» Views: 25
Venv - Python Virtual Env...
Forum: Tutorial Requests and Submissions
Last Post: DanneA
2 hours ago
» Replies: 0
» Views: 23
Webscraping: Attendance L...
Forum: Web Scraping & Web Development
Last Post: ThatsMe
6 hours ago
» Replies: 0
» Views: 51
Webscrapping sport bettin...
Forum: Web Scraping & Web Development
Last Post: Charlesnef
7 hours ago
» Replies: 4
» Views: 10,124
Lector Manga APK La Mejor...
Forum: Homework
Last Post: lester
7 hours ago
» Replies: 0
» Views: 51
ImportError: cannot impor...
Forum: General Coding Help
Last Post: ItsTheGoose
8 hours ago
» Replies: 11
» Views: 6,147
Port forwarding with frit...
Forum: Networking
Last Post: Mostelf
11 hours ago
» Replies: 4
» Views: 211
New Users Introduce Yours...
Forum: Bar
Last Post: 2dogs
Yesterday, 03:32 PM
» Replies: 450
» Views: 339,837
course for Python and Pyt...
Forum: News and Discussions
Last Post: 2dogs
Yesterday, 03:15 PM
» Replies: 2
» Views: 765
How do select this table ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 01:52 PM
» Replies: 4
» Views: 183

 
  Help me with this task
Posted by: melmedarda - Feb-17-2025, 02:36 AM - Forum: Homework - Replies (1)

I'm working on a Python project where I need to read a text file, count the occurrences of each word, and then display the top 10 most common words. H..... More

Print this item

  Uncluttr: Open Source AI for Document Sorting
Posted by: rgnclvs - Feb-16-2025, 04:12 PM - Forum: Code sharing - No Replies

Hello everyone! We are excited to introduce Uncluttr: an AI-powered automated solution that makes it easy to digitize, sort and archive corporate docu..... More

Print this item

  Why it gives me a black image and libpng warning: iCCP
Posted by: rickyw2777 - Feb-16-2025, 03:08 PM - Forum: General Coding Help - Replies (1)

This is my code:

[python]from picamera2 import Picamera2
import cv2
import numpy as np
import time
import math
import argparse
import RPi...... More

Print this item

  Python Linker
Posted by: MeJustMeLol2020 - Feb-16-2025, 01:20 PM - Forum: Code sharing - Replies (4)

I published my code yesterday on another thread about a Python linker. Today, I wrote my own linker and finished it. It works on my manual setup, but ..... More

Print this item

  Problem When using canny edge detection,black image returned
Posted by: rickyw2777 - Feb-16-2025, 04:48 AM - Forum: General Coding Help - Replies (1)

I am creating a program to give me a trackbar that can adjust the value of minv and maxv for the canny edge detection. Strangely, when I not include a..... More


Attached Files

Thumbnail(s)
       
Print this item

  Web scraping confusion
Posted by: keifin - Feb-16-2025, 03:28 AM - Forum: Web Scraping & Web Development - Replies (3)

Hello Everyone,

I am new to Python and created a simple web scraper that would scrape the winning pick 3 number from the Florida lottery websit..... More

Print this item

  Python Linker
Posted by: MeJustMeLol2020 - Feb-15-2025, 12:58 PM - Forum: Web Scraping & Web Development - Replies (2)

Hello everyone,

I'm currently writing a Python script that can read C files from a directory and use GCC to compile them, placing the resulting fil..... More


Attached Files

.py   GCC.py (Size: 1.24 KB / Downloads: 98)
Print this item

  Help me understand variable value
Posted by: rkreis - Feb-15-2025, 11:21 AM - Forum: Homework - Replies (4)

Hello!

I recently stumbled upon a python course and a test of sorts, there is a question:

What is the value of C?

T = 3
v = "ab"
C = T *v

To which..... More

Print this item

  Complex Numbers
Posted by: Curbie - Feb-14-2025, 06:14 PM - Forum: General Coding Help - Replies (4)

My life is settling down again after building two new machines for me, evaluating and loading a new OS distro, and evaluating loading some new applica..... More

Print this item

  how to download large files faster?
Posted by: kucingkembar - Feb-14-2025, 01:50 PM - Forum: General Coding Help - Replies (3)

what method to download large size (larger than 1GB) faster?

Print this item

  Python use of virtual environments
Posted by: bre67e49 - Feb-14-2025, 07:45 AM - Forum: General Coding Help - Replies (4)

I need the ability to use python virtual environments, currently I can create them using python -m venv venv but when I try to import libraries into t..... More

Print this item

  TypeError: string indices must be integers
Posted by: deneme2 - Feb-13-2025, 07:24 PM - Forum: General Coding Help - Replies (2)

Hi guys,

i have two json files
code works fine for test1.json, but it gives "TypeError: string indices must be integers" error for test2.json

..... More


Attached Files

.json   test1.json (Size: 25.68 KB / Downloads: 210)
.json   test2.json (Size: 32.02 KB / Downloads: 248)
Print this item

  [split] ibm_db install problem
Posted by: SQLPython - Feb-13-2025, 07:13 PM - Forum: General Coding Help - Replies (1)

I am on Python 38,

Output:
pip install ibm_db Requirement already satisfied: ibm_db in d:\anaconda\lib\site-packages (3.2.5)
[python]..... More

Print this item

  I'm new to Python - can someone help with this code as it is not working?
Posted by: lminc123 - Feb-13-2025, 05:53 PM - Forum: General Coding Help - Replies (1)

Voice-Controlled Hindi Song Player
------------------------------------------

Here's how the application should work:

Create a directory called..... More

Print this item

  Is one week enough to learn these Python topics? Feeling overwhelmed
Posted by: nedreV - Feb-13-2025, 04:43 PM - Forum: News and Discussions - Replies (1)

Hi everyone,

I'm completely new to programming and currently learning Python. I really enjoy it, but I’m feeling overwhelmed by the amount of mater..... More

Print this item

  ValueError in dataclasses.py - Please help!
Posted by: andrewk - Feb-13-2025, 10:40 AM - Forum: General Coding Help - Replies (4)

Using Python 3.11.2 on Raspberry PI.

Executing deposit.py...get the following error:

File "/blockchain/staking-deposit-cli/./staking_deposit/d..... More

Print this item

  [split] Newbie needs help
Posted by: Schoe1 - Feb-12-2025, 06:57 PM - Forum: General Coding Help - No Replies

I have a similar problem. I am trying to fetch stock data using yfinance and pandas then create a matrix for several stock symbols and associated data..... More

Print this item

  Python Module for PowerLED 2.89.4
Posted by: ChonkyBork - Feb-12-2025, 04:46 PM - Forum: General Coding Help - Replies (3)

Hi

I'm working on trying to create a DIY race timing clock using some P10 single color led panels. I ordered a TF-M6NUR controller board that I was..... More

Print this item

  Deploying a working local piece of code to Google app engine
Posted by: problemfacer - Feb-12-2025, 06:49 AM - Forum: Web Scraping & Web Development - No Replies

My site loads but one can't login. The issue is with database connection. When running on localhost, I had 3 files where this connection took code to ..... More

Print this item

  FFMPEG
Posted by: Leondagreatest - Feb-12-2025, 02:09 AM - Forum: General Coding Help - No Replies

I'm making a program in python that takes an MP4 video, extracts the audio and compresses it, and then takes that compressed audio and takes 0.1 secon..... More

Print this item

  beginner doesn't understand import
Posted by: cimerio - Feb-11-2025, 06:39 PM - Forum: General Coding Help - Replies (3)

hello, I don't know if python is different, but

I have a arquivoDados.py file
and a programa.py file in same directory

In arquivoDados.py I hav..... More

Print this item

  Transform a pdf to markdown
Posted by: zzied - Feb-11-2025, 10:22 AM - Forum: General Coding Help - No Replies

Hello Guys ,

I want to create blogs with markdow for my platform on markdown whit hugo site , but i have only my training on pdf .
How i do to tr..... More

Print this item

  The Secret of Nim
Posted by: ratwolf - Feb-11-2025, 05:40 AM - Forum: Code sharing - No Replies

The game of Nim (The mathematical background of how to win the game)

[python]import numpy as np
import matplotlib.pyplot as plt
from matplotlib...... More


Attached Files

Thumbnail(s)
       
Print this item

  ValueError in dataclasses.py - using staking-deposit-cli
Posted by: andrewk - Feb-10-2025, 09:51 PM - Forum: General Coding Help - No Replies

My project uses https://github.com/ethereum/staking-depo...y_handling

When trying execute it, I get the followin..... More

Print this item

Question Custom Window Decorations on all Windows
Posted by: Beenman11 - Feb-10-2025, 09:00 PM - Forum: General Coding Help - Replies (3)

Hi,
I am making a Helping Script for a game, which uses tkinter for the GUI elements and messagebox for a pop up window.
For this script, there is a..... More


Attached Files

Thumbnail(s)
       

.py   buckshot-helper-test.py (Size: 16.72 KB / Downloads: 84)
Print this item

  Need help with Scikit-Learn Assignment
Posted by: Toh - Feb-10-2025, 07:15 AM - Forum: Homework - Replies (1)

what is wrong with my code why keep failing?

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
My failur..... More

Print this item

  What to do with Deadsnakes PPA?
Posted by: andrewk - Feb-09-2025, 04:18 AM - Forum: General Coding Help - Replies (1)

I'm using Python 3.11 which was installed on my Raspberry PI 5 by default.

My project depends on ppa:deadsnakes/ppa...
ie. sudo add-apt-repository..... More

Print this item

Question [SOLVED] [newbie] Why call super()? When to use parent?
Posted by: Winfried - Feb-08-2025, 07:12 PM - Forum: General Coding Help - Replies (4)

Hello,

I'm reading a book on wxPython, and have a couple of newbie questions:

1. Why is a call to super() required? When commented out, Python a..... More

Print this item

  not able to call the variable inside the if/elif function
Posted by: mareeswaran - Feb-08-2025, 04:22 PM - Forum: General Coding Help - Replies (3)

[python]class new_():
def __init__(self):
self.std_=20000


def new1 (self):
if (0<i<=600000):
..... More

Print this item

  opencv troubleshooting when using Canny
Posted by: rickyw2777 - Feb-08-2025, 03:48 AM - Forum: General Coding Help - Replies (2)

I was trying to use a tracebar to change the value of shresholds for Canny. Here is my code:
[code]#HoughLinesP
import cv2
import numpy as np
fi..... More

Print this item

  def __str__(self) gives error
Posted by: rahul6sept - Feb-08-2025, 02:58 AM - Forum: General Coding Help - Replies (1)

Hi, the function def __str__(self) while I put inside the class is giving indent error. But if put outside doesn't give output.

plz advice.


Attached Files

.py   class_py_student.py (Size: 525 bytes / Downloads: 76)
Print this item

  "bytecode compiler" in docs means what?
Posted by: EShaw - Feb-07-2025, 05:19 PM - Forum: News and Discussions - Replies (1)

Hello, first post. I'm a CS instructor and prepping a lecture on compiling v interpreting.

My question is about the use of the term "bytecode comp..... More

Print this item

  question about changing the string value of a list element
Posted by: jacksfrustration - Feb-07-2025, 02:33 PM - Forum: General Coding Help - Replies (4)

so im still building this reminder app. It's got two parts. I need help perfecting it. Basically my app can generate reminders about events/tasks, sav..... More

Print this item

  Python - Hidden Text / Html Mail
Posted by: python1337 - Feb-07-2025, 02:02 PM - Forum: General Coding Help - Replies (1)

I have a Python tool that I want to use to send emails.

I want to send a hidden text within an html mail without the plaintext being displayed - Cu..... More

Print this item

  exception scapy
Posted by: kolikol - Feb-07-2025, 01:57 PM - Forum: Networking - Replies (1)

Hello, forum!
I have win7 x32 python 3.8.0, the problem is:

When trying to connect the scapy library (full functionality), namely by importing
fr..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Convert any Python expres... 1 hour ago voidtrance voidtrance General Codin...
  Venv - Python Virtual Env... 2 hours ago DanneA DanneA Tutorial Requ...
  Webscraping: Attendance L... 6 hours ago ThatsMe ThatsMe Web Scraping ...
  Webscrapping sport bettin... 7 hours ago KoinKoin Charlesnef Web Scraping ...
  Lector Manga APK La Mejor... 7 hours ago lester lester Homework
  ImportError: cannot impor... 8 hours ago Anldra12 ItsTheGoose General Codin...
  Port forwarding with frit... 11 hours ago timonick Mostelf Networking
  New Users Introduce Yours... Yesterday, 15:32 Yoriz 2dogs Bar
  course for Python and Pyt... Yesterday, 15:15 anjali 2dogs News and Disc...
  How do select this table ... Yesterday, 13:52 MarkMan snippsat Web Scraping ...
  Predicitve Maintenance Pr... 06-14, 23:00 dannyg DeaD_EyE General Codin...
Most views
  The best Prog... 572182
  Tutorial Requ... 484693
  Web Scraping ... 436746
  Newbie with P... 379575
  Thread remain... 351205
Most reputation
buran 581
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 450
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12063
buran 8173
snippsat 7335
deanhystad 6835
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
DanneA Today
ShirleyBrendel Today
ThatsMe Today
dataanalystjobs7 Today
lester Today

User Panel Messages

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