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,400
» Latest member: BioNanoTech
» Forum threads: 38,825
» Forum posts: 176,034

Full Statistics

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

Latest Threads
Sorry Help
Forum: General Coding Help
Last Post: Pedroski55
2 hours ago
» Replies: 1
» Views: 42
IP address for users
Forum: Networking
Last Post: DeaD_EyE
9 hours ago
» Replies: 6
» Views: 7,156
Check if running from she...
Forum: General Coding Help
Last Post: DeaD_EyE
9 hours ago
» Replies: 1
» Views: 61
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Yesterday, 07:58 AM
» Replies: 28
» Views: 15,613
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 174
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,613
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 245
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,631
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 220
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 368

 
  Python Installation issue
Posted by: RFHill - Aug-15-2024, 07:12 PM - Forum: News and Discussions - Replies (4)

I updated my Python version yesterday to 3.12.5. I installed it on my Windows 11 notebook and ran the installation as an Administrator.

After the i..... More

Print this item

  Unable to generate animation
Posted by: leea2024 - Aug-15-2024, 09:12 AM - Forum: General Coding Help - Replies (4)

Hi. I was trying to follow the code in a book to generate an animation in Jupyter Lab. However, the system shows 'RuntimeError'. I have already instal..... More

Print this item

  I got "Unclosed connector" when I tried to connect to my ewelink device
Posted by: pepeyomat - Aug-14-2024, 08:27 PM - Forum: Networking - Replies (1)

Hi everybody,

I have a script that works well till two days ago.

This script is used to check a smart wifi switch (SONOFF BASIC device) wich is ..... More

Print this item

  Netgear router automatically using selenium
Posted by: Raysz - Aug-14-2024, 07:14 PM - Forum: General Coding Help - Replies (3)

So I'm trying to log onto my Netgear router automatically using selenium

I was successful in doing so

What I'm trying to add to it is the abilit..... More

Print this item

  Question of Telebot
Posted by: mohsenamiri - Aug-14-2024, 07:03 AM - Forum: General Coding Help - No Replies

Hello,

I've created a Telegram bot (set on webhook) to demonstrate the issue I'd like to address:
The program currently returns the user's action..... More

Print this item

  creating a PDF document
Posted by: Skaperen - Aug-14-2024, 05:22 AM - Forum: News and Discussions - Replies (4)

what tools are best for a Python script to produce its output as a PDF document in latest version format (1.4)?

Print this item

  Screenshotting website and highlighting clickable elements
Posted by: natew - Aug-13-2024, 08:38 PM - Forum: Web Scraping & Web Development - No Replies

I'm coding a Python script that navigates to a website, screenshots it, and annotates boxes and numbers over every clickable element (buttons, text in..... More


Attached Files

Thumbnail(s)
           
Print this item

  'import requests' problem
Posted by: Curbie - Aug-13-2024, 06:52 PM - Forum: General Coding Help - Replies (2)

I got enough info with my first thread posted here, to commit to doing python tutorials, so far around 100 and still going, but reaching the end.
I c..... More

Print this item

  import data (.csv) into Jupyter notebook
Posted by: oranstprotonme - Aug-13-2024, 06:38 PM - Forum: General Coding Help - Replies (2)

I'm trying to import a dataset into a Jupyter Notebook (Windows 11) to practice machinie learning. I don't know the proper file location where the t..... More

Print this item

  Scraper issue
Posted by: scraperwannaB - Aug-13-2024, 05:29 PM - Forum: General Coding Help - Replies (5)

Hi,

I am new to python, but trying to learn. I am trying with the scraper code below:

Given:

[python]# import required modules
from bs4 import Be..... More

Print this item

  Python error - how do I fix it?
Posted by: gregaryb - Aug-13-2024, 03:07 PM - Forum: General Coding Help - Replies (5)

[python]import smtplib
import email
import os
from email.mime.image import MIMEImage
from email.mime.multipart import MIMEMultipart
from email.mi..... More

Print this item

  ncclient issues
Posted by: DOkuwa - Aug-13-2024, 09:26 AM - Forum: General Coding Help - Replies (1)

I am running a script from git which is below and it is coming out with ncclient issues

https://github.com/CiscoDevNet/clus2017_...emo_booth/..... More

Print this item

  Error coming while downloding url
Posted by: rgargmv - Aug-13-2024, 09:23 AM - Forum: General Coding Help - No Replies

Please tell what is the error as I am very new to python

Program:

[python]import argparse
from pytube import YouTube

VIDEO_SAVE_DIRECTORY = ..... More

Print this item

  Testing resolution for pygame window
Posted by: menator01 - Aug-12-2024, 10:23 PM - Forum: Game Development - Replies (3)

As the title says. Was just wondering if I could get some feedback on where the cyan square is placed on various screens..... More

Print this item

  A question on Boolean Data Type
Posted by: Hudjefa - Aug-12-2024, 09:42 PM - Forum: General Coding Help - Replies (5)

Below are a few things I learned I could do with the Boolean Data Type

print(str(bool(3 == 3)))
I also have a fair understanding of..... More

Print this item

  Python script to extract data from API to database
Posted by: melpys - Aug-12-2024, 05:53 PM - Forum: General Coding Help - No Replies

I'm making a Python script to extract data from some APIs, such as TCGA API, in order to extract it and import it into my SQL database, which tracks t..... More

Print this item

  better python text editor
Posted by: kucingkembar - Aug-12-2024, 03:51 PM - Forum: News and Discussions - Replies (12)

sorry if I put in the wrong section or my bad English,
currently, I using the Default IDLE Python text editor,
and because it is very basic, I foun..... More

Print this item

  (Fix it) Extend list with multiple other ones
Posted by: andreimotin - Aug-12-2024, 09:55 AM - Forum: General Coding Help - Replies (3)

We need to be able to automatically extend our list with multiple other ones, here's an example:
How it works now:
[python]sales_w1 = [7,3,42,19,15,..... More

Print this item

  FileNotFoundError: [Errno 2] No such file or directory although the file exists
Posted by: Arnibandyo - Aug-12-2024, 09:07 AM - Forum: General Coding Help - No Replies

I am defining a logger and periodically exporting the content to a blob. I’ve been using this for some time with DBR 10.4/python 3.8 without any issue..... More

Print this item

  Continue Function for Loops in Python
Posted by: Hudjefa - Aug-12-2024, 06:36 AM - Forum: General Coding Help - Replies (5)

At the very early stages of learning Python. Currently learning Python loop functions and what they can do. I'm a bit confused about the [i]continue[/..... More

Print this item

  Number Guessing Game
Posted by: elenagilbert - Aug-12-2024, 03:56 AM - Forum: Homework - Replies (6)

Here is my homework:
Write a Python program that simulates a number guessing game. The computer will randomly generate a number between 1 and 100. Th..... More

Print this item

  Problem with List Comprehension in Python
Posted by: laurawoods - Aug-12-2024, 03:49 AM - Forum: General Coding Help - Replies (3)

Hi everyone,
I’m working on a Python project where I need to filter and transform a list of numbers. I want to create a new list that contains the sq..... More

Print this item

  Trying to map various products to their respective categories
Posted by: hanisha393 - Aug-12-2024, 01:03 AM - Forum: Data Science - Replies (2)

I’m trying to build my own e-commerce site and trying to map various products to their respective categories.
I implemented a ML model using tensorfl..... More

Print this item

  Pygame and buttons play
Posted by: menator01 - Aug-11-2024, 11:15 PM - Forum: Code sharing - No Replies

Just playing around with making buttons in pygame and thought I would share

btn_class.py
[python]
import pygame

# Inialize pygame font
pygame..... More

Print this item

  pygame help
Posted by: aArtur - Aug-11-2024, 09:01 PM - Forum: General Coding Help - Replies (2)

i'm trying to dipslay player's health in the window but it doesn't appear

[python]
import os
import random
import math
import pygame
import s..... More

Print this item

  get nltk data
Posted by: Pedroski55 - Aug-11-2024, 07:00 AM - Forum: General Coding Help - Replies (7)

According to the instructions, getting nltk data packets is easy:

import nltk
nltk.download('punkt_tab')
But I get:
[output]..... More

Print this item

  Unique Tkinter Window
Posted by: kucingkembar - Aug-10-2024, 10:52 PM - Forum: General Coding Help - Replies (11)

sorry for my bad english,
i have this code
[python]from tkinter import *

def openwindow():
newwindow = Toplevel()
newwindow.minsize(400..... More

Print this item

  Having difficulty finding python.h on OS X
Posted by: catsonmars - Aug-10-2024, 07:46 PM - Forum: General Coding Help - Replies (2)

What I've tried:
I've looked in:
/Library/Frameworks
/usr/lib
/usr/bin
I even looked at the python 3.9 folder in each of my pycharm ide pr..... More

Print this item

  Console Talking music_clock.py
Posted by: johncmd - Aug-10-2024, 02:10 PM - Forum: Code sharing - Replies (1)

Talking Musical Console Alarm Clock
GitHub: https://github.[url=https://python-forum.io/thread-42570.html]..... More

Print this item

  Text
Posted by: Barakaabana - Aug-10-2024, 08:19 AM - Forum: General Coding Help - Replies (1)

What contact details are provided on the site to reach the company?

Print this item

  System showing np.int64(xxx) as output
Posted by: leea2024 - Aug-10-2024, 06:06 AM - Forum: General Coding Help - Replies (3)

I was using Numpy and try to find the number in an array which is the closest to the number 57. I write the following code.
[python]a = np.array([78,..... More

Print this item

  Tkinter popup no grabbing the selected keys - Event propagation
Posted by: Wehaveall - Aug-09-2024, 02:46 PM - Forum: GUI - Replies (2)

Hi guys,

I am creating a popup that, while user is typing, shows some options for the user to select, if tab, enter or arrow keys are pressed, or i..... More

Print this item

Exclamation Date format convert problem for SQL server
Posted by: eotret - Aug-08-2024, 10:57 AM - Forum: General Coding Help - Replies (5)

Hello everyone,

In an application I wrote, I need to change the date information entered by the user in the format DD/MM/YYYY to YYYY/MM/DD in order ..... More

Print this item

  Warning - ' invalid escape sequence '\s''
Posted by: tester_V - Aug-07-2024, 11:28 PM - Forum: General Coding Help - Replies (4)

Greetings!
I'm looking for the tree specific lines in my files (see below), and I have a regex that gets me the lines but it also prints warnings in ..... More

Print this item

  HELP!!! string logical sorting
Posted by: kucingkembar - Aug-07-2024, 10:35 PM - Forum: General Coding Help - Replies (13)

sorry for my bad english,
i have this problem :

thelist = ["t9","t8","t11","t10"]
print(thelist)
thelist.sort()
print(thelist)
..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Sorry Help 2 hours ago BioNanoTech Pedroski55 General Codin...
  IP address for users 9 hours ago Robots DeaD_EyE Networking
  Check if running from she... 9 hours ago rjdegraff42 DeaD_EyE General Codin...
  Merge video with subtitle... Yesterday, 07:58 Pavel_47 OtiliaGen General Codin...
  Opencv findContours Q 12-30, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... 12-29, 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...
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
Most views
  The best Prog... 580463
  Tutorial Requ... 519959
  Web Scraping ... 442797
  Newbie with P... 387010
  New Users Int... 386751
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
BioNanoTech Today
arachlmaarley4839 Yesterday
CarlApome Yesterday
JulioLet Yesterday
aellatsz9602 12-30

User Panel Messages

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