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,552
» Latest member: 2dogs
» Forum threads: 38,623
» Forum posts: 174,995

Full Statistics

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

Latest Threads
New Users Introduce Yours...
Forum: Bar
Last Post: 2dogs
4 hours ago
» Replies: 450
» Views: 339,661
course for Python and Pyt...
Forum: News and Discussions
Last Post: 2dogs
5 hours ago
» Replies: 2
» Views: 740
How do select this table ...
Forum: Web Scraping & Web Development
Last Post: snippsat
6 hours ago
» Replies: 4
» Views: 151
Predicitve Maintenance Pr...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 11:00 PM
» Replies: 2
» Views: 158
Button color selection in...
Forum: General Coding Help
Last Post: wa4ywm
Yesterday, 05:55 PM
» Replies: 0
» Views: 75
Website bug
Forum: Board
Last Post: franksmith
Yesterday, 05:16 PM
» Replies: 3
» Views: 865
Retired and Learning Pyth...
Forum: Code sharing
Last Post: Larz60+
Yesterday, 09:29 AM
» Replies: 2
» Views: 689
JavaScript File?
Forum: Bar
Last Post: DeaD_EyE
Yesterday, 03:29 AM
» Replies: 2
» Views: 408
Port forwarding with frit...
Forum: Networking
Last Post: timonick
Jun-13-2025, 11:41 PM
» Replies: 3
» Views: 177
Intro to WebScraping
Forum: Web Scraping & Web Development
Last Post: Juliyana
Jun-13-2025, 04:29 PM
» Replies: 4
» Views: 6,033

 
  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 (3)

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 (3)

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 (2)

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: 41)
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New Users Introduce Yours... 4 hours ago Yoriz 2dogs Bar
  course for Python and Pyt... 5 hours ago anjali 2dogs News and Disc...
  How do select this table ... 6 hours ago MarkMan snippsat Web Scraping ...
  Predicitve Maintenance Pr... Yesterday, 23:00 dannyg DeaD_EyE General Codin...
  Button color selection in... Yesterday, 17:55 wa4ywm wa4ywm General Codin...
  Website bug Yesterday, 17:16 Mike88 franksmith Board
  Retired and Learning Pyth... Yesterday, 09:29 breacsealgaire Larz60+ Code sharing
  JavaScript File? Yesterday, 03:29 Azdaghost DeaD_EyE Bar
  Port forwarding with frit... 06-13, 23:41 timonick timonick Networking
  Intro to WebScraping 06-13, 16:29 d1rjr03 Juliyana Web Scraping ...
  tracking version during r... 06-13, 16:22 Skaperen Juliyana News and Disc...
Most views
  The best Prog... 572172
  Tutorial Requ... 484686
  Web Scraping ... 436742
  Newbie with P... 379574
  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
2dogs Today
Emma Today
ThomasMut Today
wa4ywm Yesterday
dannyg Yesterday

User Panel Messages

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