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,341
» Latest member: MatthewRodia
» Forum threads: 38,810
» Forum posts: 175,968

Full Statistics

Online Users
There are currently 267 online users.
» 0 Member(s) | 264 Guest(s)
Bing, Google, Mojeek

Latest Threads
Larger GUI Program Oragan...
Forum: GUI
Last Post: MilesWeb
49 minutes ago
» Replies: 2
» Views: 387
500 Internal Server error...
Forum: Web Scraping & Web Development
Last Post: MilesWeb
58 minutes ago
» Replies: 5
» Views: 2,596
division error
Forum: General Coding Help
Last Post: deanhystad
8 hours ago
» Replies: 2
» Views: 166
"with open(os.path.join(a...
Forum: General Coding Help
Last Post: uek67
Yesterday, 01:13 PM
» Replies: 13
» Views: 559
Albert is Hiring: Remote ...
Forum: Jobs
Last Post: prachi01
Yesterday, 10:55 AM
» Replies: 1
» Views: 1,320
Looking for new hosting s...
Forum: Bar
Last Post: DeaD_EyE
Dec-09-2025, 02:30 PM
» Replies: 16
» Views: 11,132
Optimization Software Eng...
Forum: Jobs
Last Post: bicop
Dec-09-2025, 11:51 AM
» Replies: 0
» Views: 86
scipy.optimize.curve_fit ...
Forum: Data Science
Last Post: willflanagan
Dec-08-2025, 10:02 PM
» Replies: 0
» Views: 111
Iterator and/or generator...
Forum: General Coding Help
Last Post: noisefloor
Dec-08-2025, 04:30 PM
» Replies: 8
» Views: 483
Graphics error
Forum: General Coding Help
Last Post: woooee
Dec-08-2025, 04:22 PM
» Replies: 2
» Views: 606

 
  Automating the CyberGhost VPN
Posted by: surendragupta - Apr-30-2025, 11:10 AM - Forum: General Coding Help - No Replies

I am automating the cyberghost vpn using python code but i can't inspect that cyberghost vpn and so i need to click the elements by taking the referen..... More

Print this item

  PyVisa Query Command fails
Posted by: dazz - Apr-30-2025, 10:10 AM - Forum: General Coding Help - Replies (1)

Hi
I am restoring an Electro-Metrics EMC-30 receiver. This is a Mil-Spec EMC test receiver that includes a GPIB bus. This is an old piece of kit.
..... More

Print this item

  what name to give to a new function?
Posted by: Skaperen - Apr-30-2025, 05:31 AM - Forum: News and Discussions - Replies (4)

i am developing a new kind of sleep function that can sleep to a specific time offset into a repeating cycle with a minimum amount of time to sleep. ..... More

Print this item

  I am sending messages using Python to Telegram, but I need to use WhatsApp for it
Posted by: Hendrikb - Apr-29-2025, 09:38 AM - Forum: General Coding Help - No Replies

I want to know if it is possible to send messages to a WhatsApp number for free.

Every day it will send out messages if there is a birthday or anni..... More

Print this item

  Get the string after a specific char
Posted by: JanJan - Apr-29-2025, 04:03 AM - Forum: General Coding Help - Replies (5)

Hi,

I am a newbie in Python and would like help on achieving getting the string after a specific character. For example below, how do i retrieve th..... More

Print this item

  function arguments
Posted by: Curbie - Apr-29-2025, 01:44 AM - Forum: General Coding Help - Replies (2)

Are arguments passed to functions passed as data or a reference to data or does Python make that call behind the scenes?

curbie

Print this item

  where should DEFAULT_CIPHERS be found?
Posted by: Skaperen - Apr-28-2025, 10:59 PM - Forum: General Coding Help - Replies (8)

where should DEFAULT_CIPHERS be found, or
what do i need to upgrade (this used to work 2 or 3 years ago) ?

i've re-installed botocore. does this ..... More

Print this item

  [split] How to continue code after .show() in matplotlib?
Posted by: pythonnewbie62 - Apr-28-2025, 02:52 PM - Forum: General Coding Help - Replies (1)

I cannot find the threading module in PyCharm 2025.1 CE from PyCharm->Settings->Python Interpreter. How do I do that?

Print this item

Question [SOLVED] [Beautiful Soup] Replace tag.string from another file?
Posted by: Winfried - Apr-28-2025, 02:39 AM - Forum: General Coding Help - Replies (2)

Hello,

In an HTML page ("target"), I'd like to replace the body's text with the body from another file ("source").

Neither ".string", ".text", n..... More

Print this item

  Atari Ping Pong Game
Posted by: Azdaghost - Apr-27-2025, 04:36 PM - Forum: Code sharing - Replies (1)

[python]import pygame
from random import randint
from math import sin, cos
pygame.init()

window = pygame.display.set_mode((800, 600))
keys = p..... More

Print this item

  how to delete thread
Posted by: Azdaghost - Apr-27-2025, 04:19 PM - Forum: Board - Replies (4)

I keep fixing the script after I ask for help its embarrassing Cry Cry
how do I delete a thread

Print this item

  not running
Posted by: Azdaghost - Apr-27-2025, 04:08 PM - Forum: General Coding Help - Replies (2)

I'm making a ping pong game but for some reason the .frame functions aren't working

[python]import pygame
from random import randint
from math im..... More

Print this item

  Need consultation about running tests for a Github repo
Posted by: Askic - Apr-27-2025, 01:30 PM - Forum: General Coding Help - No Replies

Hello,
I have just cloned a Git hub repo given here
But there is something I don't quite understan..... More

Print this item

  Eight Queens Problem, error in printing list
Posted by: snl_9527 - Apr-27-2025, 09:03 AM - Forum: General Coding Help - Replies (10)

[python]
import time , random
#eight_queen problem
board_sz = 15
direction = [(1,1),(-1,-1),(1,-1),(-1,1)]
data = [ [0 for _ in range(board_sz) ] for ..... More

Print this item

  errors
Posted by: Azdaghost - Apr-26-2025, 04:15 PM - Forum: General Coding Help - Replies (3)

whenever I press 'W' it crashed without a error
whenever I turn, the tank moves massively
[python]import pygame
import math

window = pygame.disp..... More

Print this item

  PLEASE DELETE_Python OOP program structure
Posted by: TeddyT - Apr-26-2025, 10:00 AM - Forum: General Coding Help - No Replies

post can be deleted as there was no answer

Print this item

  code not running even without errors
Posted by: Azdaghost - Apr-25-2025, 02:02 PM - Forum: General Coding Help - Replies (2)

I'm using trinket to run my code but for some reason there is no errors but it's still not running

[python]import pygame

window = pygame.display..... More

Print this item

  Wish to write a code for an electronic load and a power supply for measuring Eff
Posted by: Hasan2025 - Apr-25-2025, 12:40 PM - Forum: General Coding Help - Replies (4)

Hi there,
I am pretty new in python.
I need some help from your side.

Willing to run a program like this,

[python]
import pyvisa

# Initial..... More

Print this item

  Código não funciona
Posted by: Andrea - Apr-23-2025, 04:42 PM - Forum: General Coding Help - Replies (1)

não consigo automatizar a busca em um site, podem me ajudar a solucionar o erro?
Esse é o código:
[python]import requests
import pandas as pd
from..... More

Print this item

  Automate Google Search and Extract Top Result
Posted by: anime - Apr-23-2025, 03:06 PM - Forum: Code sharing - No Replies

Problem:
Write a Python script using Selenium to:

Open Google.

Search for a specific query (e.g., "best python forum").

Extract and print th..... More

Print this item

  not running
Posted by: Azdaghost - Apr-23-2025, 01:25 PM - Forum: General Coding Help - Replies (6)

I'm trying to make my own language with the help of python,
but my code isn't running, why?!

main.py:
[python]script = open('script.jell', 'r').r..... More

Print this item

  Selenium Select Option Issue
Posted by: webimdad - Apr-23-2025, 12:26 PM - Forum: General Coding Help - No Replies

I am facing the select option issue. If anyone have solution please help. Thanks

[python]
from selenium import webdriver
from selenium.webdriver...... More

Print this item

Photo Converting Pandas DataFrame to a table of hourly blocks
Posted by: Abedin - Apr-23-2025, 12:36 AM - Forum: General Coding Help - Replies (1)

Hello everyone,

I have a data frame that I'd like to visualize as a table (see attached file). Is that possible with pandas? Your help will be ve..... More


Attached Files

Thumbnail(s)
   
Print this item

  how to get variable
Posted by: Azdaghost - Apr-22-2025, 06:55 PM - Forum: General Coding Help - Replies (3)

how do I get the variable holding the data

something like this
[python]
class Student:
def __init__(self, name):
self.name = name
..... More

Print this item

  Looking for ideas
Posted by: Azdaghost - Apr-22-2025, 05:57 PM - Forum: Bar - Replies (3)

I'm making a kart-racing game with pygame, any ideas?

Print this item

  python code not running
Posted by: Azdaghost - Apr-22-2025, 05:52 PM - Forum: General Coding Help - Replies (1)

why isn't it running Huh Cry Wall

[python]import pygame
import random

window = pygame.display.set_mode((800, 600))
keys = pygam..... More

Print this item

  Best fit for SVG files
Posted by: chihuahua998 - Apr-22-2025, 12:39 PM - Forum: Data Science - Replies (4)

I have a single SVG file, called "container.svg" that contains a closed curve on a transparent background, something like this:

[code]
<?xml versi..... More

Print this item

  a file inside a script
Posted by: Skaperen - Apr-21-2025, 10:15 PM - Forum: News and Discussions - No Replies

i would like for a script i am designing to be able to output some file contents to an actual file even where that file does not yet exist, so there i..... More

Print this item

  Python inner classes inheritance from parent class
Posted by: Abedin - Apr-21-2025, 06:30 PM - Forum: General Coding Help - Replies (8)

Hello,

I am really struggling to understand the inheritance in python classes. In particular, I am trying to figure out how to pass the outer class..... More

Print this item

Sad how to use the socket module
Posted by: Azdaghost - Apr-21-2025, 12:36 PM - Forum: Networking - Replies (1)

how to use socket module

Print this item

  how to get qualified objects in a list
Posted by: Azdaghost - Apr-21-2025, 12:21 PM - Forum: General Coding Help - Replies (5)

I'm trying to make a spaceship game and when it gets off screen I want to delete it

but I don't know how to get the objects that are off screen and..... More

Print this item

  Returning data on button click by buttons created by a loop
Posted by: bradells - Apr-20-2025, 03:35 AM - Forum: General Coding Help - Replies (3)

Hi there,

Born again coding newb here .... (2 days in so far....)

I have a GUI that has buttons created based upon the number of lines from a csv fi..... More

Print this item

  how to change account name
Posted by: Azdaghost - Apr-19-2025, 10:17 PM - Forum: Board - Replies (3)

how do i change my acc name

Print this item

Bug infinite recursion
Posted by: Dimon - Apr-19-2025, 01:50 PM - Forum: General Coding Help - Replies (8)

In python version 3.13....
I noticed the possibility of creating infinite recursion, that is, the stack does not overflow, this could be attributed t..... More

Print this item

  Make code run faster: point within polygon lookups
Posted by: Bennygib - Apr-19-2025, 02:58 AM - Forum: General Coding Help - Replies (3)

Hello all,
I have a problem with my python code which is that it takes forever to run (more than 2 weeks of running). My Python script takes a partic..... More


Attached Files

.py   Connectivity_matrix_1996.py (Size: 6.98 KB / Downloads: 101)
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Larger GUI Program Oragan... 49 minutes ago Tuurbo46 MilesWeb GUI
  500 Internal Server error... 58 minutes ago ppowell777 MilesWeb Web Scraping ...
  division error 8 hours ago nathanael deanhystad General Codin...
  "with open(os.path.join(a... Yesterday, 13:13 uek67 uek67 General Codin...
  Albert is Hiring: Remote ... Yesterday, 10:55 AlbertApp prachi01 Jobs
  Looking for new hosting s... 12-09, 14:30 Larz60+ DeaD_EyE Bar
  Optimization Software Eng... 12-09, 11:51 bicop bicop Jobs
  scipy.optimize.curve_fit ... 12-08, 22:02 willflanagan willflanagan Data Science
  Iterator and/or generator... 12-08, 16:30 mogplus8 noisefloor General Codin...
  Graphics error 12-08, 16:22 nathanael woooee General Codin...
  An impressive collection ... 12-06, 06:35 Gribouillis Larz60+ Bar
Most views
  The best Prog... 579916
  Tutorial Requ... 515626
  Web Scraping ... 442560
  Newbie with P... 386790
  New Users Int... 383470
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 8197
snippsat 7395
deanhystad 6918
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
MatthewRodia Yesterday
signs2go Yesterday
Iqra Yesterday
prachi01 Yesterday
ericAlfonce Yesterday

User Panel Messages

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