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,416
» Latest member: DKadelka
» Forum threads: 38,539
» Forum posts: 174,650

Full Statistics

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

Latest Threads
function arguments
Forum: General Coding Help
Last Post: Curbie
32 minutes ago
» Replies: 0
» Views: 15
where should DEFAULT_CIPH...
Forum: News and Discussions
Last Post: Skaperen
3 hours ago
» Replies: 0
» Views: 33
how to delete thread
Forum: Board
Last Post: DeaD_EyE
6 hours ago
» Replies: 4
» Views: 245
Atari Ping Pong Game
Forum: Code sharing
Last Post: deanhystad
9 hours ago
» Replies: 1
» Views: 127
not running
Forum: General Coding Help
Last Post: deanhystad
10 hours ago
» Replies: 2
» Views: 226
[split] How to continue c...
Forum: General Coding Help
Last Post: deanhystad
10 hours ago
» Replies: 1
» Views: 97
Web Scraping / API
Forum: Jobs
Last Post: deepvyas
Yesterday, 01:40 PM
» Replies: 2
» Views: 461
Wish to write a code for ...
Forum: General Coding Help
Last Post: Hasan2025
Yesterday, 07:12 AM
» Replies: 2
» Views: 268
[Beautiful Soup] Replace ...
Forum: General Coding Help
Last Post: Winfried
Yesterday, 02:39 AM
» Replies: 0
» Views: 106
errors
Forum: General Coding Help
Last Post: deanhystad
Apr-27-2025, 07:44 PM
» Replies: 3
» Views: 275

 
  function arguments
Posted by: Curbie - 32 minutes ago - Forum: General Coding Help - No Replies

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 - 3 hours ago - Forum: News and Discussions - No Replies

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 - 11 hours ago - 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 [Beautiful Soup] Replace tag.string from another file?
Posted by: Winfried - Yesterday, 02:39 AM - Forum: General Coding Help - No Replies

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", nor "..... 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 (8)

[python]

#Determine if it is a diagonal
def is_diag(pointA,pointB):
dx=abs(pointA[0]-pointB[0])
dy=abs(pointA[1]-pointB[1])

return dx ==..... More


Attached Files

.py   practice.py (Size: 1.94 KB / Downloads: 9)
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

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

Hello @all,

I would like to program a terminal application in Python to manage and analysis financial data. I am not a professional programer and ..... More


Attached Files

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

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 - No Replies

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

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

  Pyqt5 - Close a modal window
Posted by: Ninja2112 - Apr-19-2025, 01:42 AM - Forum: GUI - Replies (9)

Hi, guys...

I'm struggling with a quite simple question: How can I close my modal windows ?
I've created them using Pyqt5 and my code looks like:..... More

Print this item

  Wich encoding for an attachment with no-ascii characters
Posted by: arbiel - Apr-18-2025, 12:36 PM - Forum: Networking - Replies (1)

Hi to all of you

I create html documents, with bs4, which I convert into pdf files with xhtml2pdf, then into electronic messages with email and sen..... More

Print this item

  Albert is Hiring: Remote Engineering Leader (Profitable Fintech, Python, Americas)
Posted by: AlbertApp - Apr-17-2025, 04:45 PM - Forum: Jobs - No Replies

Hey Pythonistas 👋

We (www.albert.com) are a profitable remote fintech company helping users take control of their finances with smart automation (b..... More

Print this item

  A general introduction to deep learning
Posted by: tvali - Apr-15-2025, 05:10 PM - Forum: Tutorials - No Replies

I wrote a simpler and more intuitive intro to DL:
- https://github.com/tambetvali/LaegnaAIBasics

This is my idea that programmers should do better..... More

Print this item

  Why my graph is blocked at 4.2 bars whithout use the valve on my modelisation ?
Posted by: tudy62 - Apr-15-2025, 08:32 AM - Forum: General Coding Help - Replies (2)

Hello, i want to make a modelisation of hydrogen liquid transformation in gas by change of temperature and pressure, augmentation by change of differe..... More


Attached Files

.xlsx   Book1.xlsx (Size: 9.71 KB / Downloads: 25)
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  function arguments 32 minutes ago Curbie Curbie General Codin...
  where should DEFAULT_CIPH... 3 hours ago Skaperen Skaperen News and Disc...
  how to delete thread 6 hours ago Azdaghost DeaD_EyE Board
  Atari Ping Pong Game 9 hours ago Azdaghost deanhystad Code sharing
  not running 10 hours ago Azdaghost deanhystad General Codin...
  [split] How to continue c... 10 hours ago pythonnewbie62 deanhystad General Codin...
  Web Scraping / API Yesterday, 13:40 nautifi deepvyas Jobs
  Wish to write a code for ... Yesterday, 07:12 Hasan2025 Hasan2025 General Codin...
  [Beautiful Soup] Replace ... Yesterday, 02:39 Winfried Winfried General Codin...
  errors 04-27, 19:44 Azdaghost deanhystad General Codin...
  New Users Introduce Yours... 04-27, 16:51 Yoriz snl_9527 Bar
Most views
  The best Prog... 557001
  Tutorial Requ... 423011
  Web Scraping ... 422538
  Newbie with P... 350218
  Thread remain... 324270
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 325
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12033
buran 8163
snippsat 7320
deanhystad 6806
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
DKadelka Yesterday
hararemaderoykuchy Yesterday
buyoncomed Yesterday
Darrel Yesterday
snsbservice Yesterday

User Panel Messages

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