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,920
» Latest member: aidajnrz7704
» Forum threads: 38,722
» Forum posts: 175,488

Full Statistics

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

Latest Threads
Chris Paul mythical IQ co...
Forum: Homework
Last Post: Sabrinas
59 minutes ago
» Replies: 0
» Views: 12
Do the Miami Dolphins inc...
Forum: Data Science
Last Post: Sabrinas
1 hour ago
» Replies: 0
» Views: 12
Antonio Pierce Pleads Wit...
Forum: GUI
Last Post: Sabrinas
1 hour ago
» Replies: 0
» Views: 11
Select Python comment (#)...
Forum: General Coding Help
Last Post: SpongeB0B
1 hour ago
» Replies: 4
» Views: 256
TimsothyKat
Forum: General Coding Help
Last Post: LewisByday
1 hour ago
» Replies: 0
» Views: 5
Packers Loss $12.5 Millio...
Forum: General Coding Help
Last Post: Sabrinas
1 hour ago
» Replies: 0
» Views: 2
I'm trying to make a piec...
Forum: General Coding Help
Last Post: MilesWeb
2 hours ago
» Replies: 5
» Views: 1,073
New to the field
Forum: News and Discussions
Last Post: Polybunny
7 hours ago
» Replies: 0
» Views: 56
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Stowersw
Yesterday, 03:23 PM
» Replies: 4
» Views: 2,241
Python and excel vba codi...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 11:09 AM
» Replies: 2
» Views: 800

 
  Gomoku game problem
Posted by: snl_9527 - May-06-2025, 03:07 AM - Forum: General Coding Help - Replies (6)

[python]
import pygame
pygame.init()

#game constants
WINDOW_SZ = 720
BOARD_SZ = 16
COLOR = [(255,255,255),(0,0,0)]
LINE_COLOR = (0,0,0)
BOAR..... More


Attached Files

.zip   gomokuame.zip (Size: 33.15 KB / Downloads: 79)
Print this item

  Question regarding Python
Posted by: LPTtech - May-05-2025, 02:43 PM - Forum: General Coding Help - Replies (2)

Hi everyone,

I'm working on a project that requires both data acquisition and equipment control. One of the key components I need to interface with..... More

Print this item

  How to space data on x axis
Posted by: m_kdch - May-05-2025, 12:55 PM - Forum: General Coding Help - Replies (2)

Hi everyone!

I'm trying to represent some data with matplotlib. For this particular set, I need to compare only two data, each composed of a mean +..... More


Attached Files

Thumbnail(s)
   
Print this item

  Retired and Learning Python
Posted by: breacsealgaire - May-04-2025, 04:26 AM - Forum: Code sharing - Replies (3)

After 50 years of software development from IBM 360 mainframes to Azure cloud I've decided to keep active at home and decided Python looked interestin..... More

Print this item

  tkinter only storing last element/data from entry widget
Posted by: bertschj1 - May-03-2025, 11:49 PM - Forum: General Coding Help - Replies (8)

Hello. I'm new here, and in desperate need of help! I don't have much experience with tkinter, so I may have botched something along the way. Here's m..... More

Print this item

Question [SOLVED] [Windows] Change directory date?
Posted by: Winfried - May-03-2025, 04:32 PM - Forum: General Coding Help - Replies (2)

Hello,

I mistyped a "dir" command in Windows, and now all the subdirectories have the (wrong) same date :-/

As a way to get a more realistic dat..... More


Attached Files

Thumbnail(s)
   
Print this item

  need help with fixing data vulnarabilities
Posted by: anaconda99 - May-03-2025, 04:19 PM - Forum: General Coding Help - Replies (1)

at the office some of our python was recently scanned for vulnarabilities.
the scan report identified some python code that had injection issues.
I ..... More

Print this item

  Grok Acedemy Sport Microbit Tilt Both Ways Help
Posted by: happyhippo - May-03-2025, 02:15 AM - Forum: Homework - Replies (1)

Hello, im currently doing the grok academy sport microbit course and im up to ‘Tilt Both ways’ an activity in module 5. I have cleared most of the tes..... More

Print this item

Star Build Fast, Type-Safe APIs with Django Ninja – Full Guide + CRUD Example
Posted by: Mido - May-02-2025, 06:51 PM - Forum: Tutorial Requests and Submissions - No Replies

If you're working with Django and want to build fast, clean, and modern APIs, Django Ninja is a powerful tool worth exploring. It brings FastAP..... More

Print this item

  How to understand object-oriented programming?
Posted by: snl_9527 - May-01-2025, 02:45 PM - Forum: General Coding Help - Replies (3)

As a beginner just starting to learn Python, I'm quite confused by object-oriented programming. I don't know how to understand this concept, and it do..... More

Print this item

Information [SOLVED] [Beautiful Soup] How to deprettify?
Posted by: Winfried - May-01-2025, 08:30 AM - Forum: General Coding Help - Replies (3)

Hello,

I made the mistake of using soup.prettify() to save soups to files, and I now have whitespaces that show up as useless spaces when viewing t..... More

Print this item

  Python script not working after 12 hours
Posted by: texwilson47 - Apr-30-2025, 07:43 PM - Forum: Web Scraping & Web Development - Replies (3)

Good Afternoon,

I have a question. I am new to Python and I have a scraping script that is setup in Debian (moving to Raspberry Pi 5) where I scra..... More

Print this item

  CSV reader with PyQt6
Posted by: suburbanprojects - Apr-30-2025, 07:29 PM - Forum: Code sharing - Replies (3)

A basic CSV reader with save function made with pyqt6. Code also available at ..... More

Print this item

  Picamera2 commands between modules
Posted by: GigiG - Apr-30-2025, 11:16 AM - Forum: General Coding Help - Replies (3)

Hi all, please be patience, I'm a newbie
I started to write a simple program to allow comunication and control between App Inventor and Python on RPi..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Chris Paul mythical IQ co... 59 minutes ago Sabrinas Sabrinas Homework
  Do the Miami Dolphins inc... 1 hour ago Sabrinas Sabrinas Data Science
  Antonio Pierce Pleads Wit... 1 hour ago Sabrinas Sabrinas GUI
  Select Python comment (#)... 1 hour ago SpongeB0B SpongeB0B General Codin...
  TimsothyKat 1 hour ago LewisByday LewisByday General Codin...
  Packers Loss $12.5 Millio... 1 hour ago Sabrinas Sabrinas General Codin...
  I'm trying to make a piec... 2 hours ago Alislugacool MilesWeb General Codin...
  New to the field 7 hours ago Polybunny Polybunny News and Disc...
  Seeking feedback: dynamic... Yesterday, 15:23 Bona2000 Stowersw General Codin...
  Python and excel vba codi... Yesterday, 11:09 odiez DeaD_EyE General Codin...
  Web Scrapper to find prov... Yesterday, 08:36 physalis2099 Olivia General Codin...
Most views
  The best Prog... 575366
  Tutorial Requ... 496082
  Web Scraping ... 439494
  Newbie with P... 383071
  New Users Int... 363598
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12086
buran 8174
snippsat 7365
deanhystad 6890
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
aidajnrz7704 Today
Sabrinas Today
Jillscitt Yesterday
Stowersw Yesterday
Intel Yesterday

User Panel Messages

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