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,387
» Latest member: zashleyfracesz3221
» Forum threads: 38,820
» Forum posts: 176,013

Full Statistics

Online Users
There are currently 39 online users.
» 0 Member(s) | 31 Guest(s)
Bing, Google, AOL, AOL, Facebook

Latest Threads
IP address for users
Forum: Networking
Last Post: itx_sumeet
3 hours ago
» Replies: 4
» Views: 7,054
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
8 hours ago
» Replies: 5
» Views: 9,870
Calling python from anoth...
Forum: General Coding Help
Last Post: bowlofred
10 hours ago
» Replies: 4
» Views: 125
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 129
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 73
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 130
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,288
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 96
Exploring Different Pytho...
Forum: News and Discussions
Last Post: ankitsharma32
Dec-23-2025, 01:01 PM
» Replies: 3
» Views: 751
We open-sourced kubesdk —...
Forum: Code sharing
Last Post: beslanpuzl
Dec-21-2025, 11:52 AM
» Replies: 0
» Views: 162

 
  Asyncio | Websockets - general problem starting the server
Posted by: dreamer - Oct-25-2022, 09:40 PM - Forum: Networking - Replies (5)

Hi,

Unfortunately, my experience in websocket programming is not yet great.

I am trying to migrate my current simplewebsocket server to the sock..... More

Print this item

  BeautifulSoup - I can't translate html tags that contain <a href=..</a> OR <em></em>
Posted by: Melcu54 - Oct-25-2022, 05:22 PM - Forum: General Coding Help - Replies (10)

I can't translate html tags that contain other tags (such as <a href=..</a> OR <em></em>)

In example below, the paragraph [b]<p class JAGAAA>..</p>..... More

Print this item

  Сheck if an element from a list is in another list that contains a namedtuple
Posted by: elnk - Oct-25-2022, 04:26 PM - Forum: General Coding Help - Replies (8)

Hello, i have this code:

[python]def some_generator(some_args):
Import = namedtuple("Import", ["module", "name", "alias"]) # "module", "name" and..... More

Print this item

  repeating a user_input
Posted by: astral_travel - Oct-25-2022, 03:49 PM - Forum: General Coding Help - Replies (17)

okay, so i have this code:

[python]
import random

RNumber = random.randint(0,10)

user_input = int(input("please guess a number between 0 and..... More

Print this item

Question Is the book "automate the boring stuff" still relevant?
Posted by: Pyrathon - Oct-25-2022, 02:59 PM - Forum: News and Discussions - Replies (1)

Hey guys, is this book still good for learning the newest version of Python?
I'm a starter and have no..... More

Print this item

  python logger help ... save logger into different folder
Posted by: mg24 - Oct-25-2022, 01:49 PM - Forum: General Coding Help - Replies (1)

Hi Team,

I am using below code for logger.
Created logger function. and calling that function its working.


I want to save logger file into d..... More

Print this item

  Move column to the right if it starts with a letter
Posted by: mfernandes - Oct-25-2022, 11:22 AM - Forum: General Coding Help - No Replies

I want to move all columns to the right if my row starts with a letter, not a number.
Dataframe that I have:
[python]
var1 var2 var3 ...
9 ..... More

Print this item

  i would like this kind of logic
Posted by: Skaperen - Oct-25-2022, 03:27 AM - Forum: News and Discussions - No Replies

back in my assembly language days i could put together some logic where i had 2 conditionals (lets call them A and B) and 2 bodies of code (C and D). ..... More

Print this item

  remove none
Posted by: tommasoProne - Oct-24-2022, 06:30 PM - Forum: General Coding Help - Replies (1)

Hello world, I have a problems whit code, my code is in Italian, I post my code down.
[python]
import math

hello_message = print("""
CALCOLATRIC..... More

Print this item

  How to hardcode event.state? (tkinter)
Posted by: philipbergwerf - Oct-24-2022, 12:55 PM - Forum: General Coding Help - Replies (1)

I have a small question.
if I print the key event while holding shift and control I see:
`<KeyPress event state=Shift|Control|Mod2 keysym=Left keyco..... More

Print this item

  Django authenticate problem
Posted by: Carolzi - Oct-24-2022, 07:10 AM - Forum: General Coding Help - No Replies

1. https://feetcams.org/
Friday night i ditch the garage band flicking on garage-band sex cams where webcam models hold interactive beer bongs then cl..... More

Print this item

  multi-threaded tcp server-newbie
Posted by: gary - Oct-24-2022, 03:27 AM - Forum: Networking - Replies (15)

I am a newbie and starting to learn python. I have a task of developing multi-threaded server which can handle upto 3 clients. I have looked at differ..... More

Print this item

  Getting my choices to display fro some reason it isnt working.
Posted by: dgizzly - Oct-24-2022, 12:23 AM - Forum: Homework - Replies (5)

[python]choice = 0

while choice != QUIT:
#Display menu & prompt user for choice
print("\nChoose one of the following options")
print..... More

Print this item

  why does str need a .replace() method?
Posted by: Skaperen - Oct-23-2022, 10:11 PM - Forum: News and Discussions - Replies (4)

why does str need a .replace() method? is code any longer if, instead, there is a builtin function replace() that takes 3 arguments?
..... More

Print this item

  Load image and show in label
Posted by: ko_fal - Oct-23-2022, 10:21 AM - Forum: GUI - Replies (8)

Hello,
I'm new to Tkinter and Python and trying to display an image in a label by selecting from a folder.

[python]from asyncore import read
fr..... More

Print this item

  error message
Posted by: the_wolf_dz - Oct-23-2022, 10:09 AM - Forum: GUI - Replies (4)

hi everybody
I have created an GUI with the QT designer and when i integrate it in the python IDE ( Pycharm or Visuel Studio)
I encounter the follo..... More

Print this item

  How to call a class in other class?
Posted by: 3lnyn0 - Oct-23-2022, 02:52 AM - Forum: General Coding Help - Replies (3)

Hi! I have a problem in which a farmer want to calculate the area of a land when he buying a new land and to add at the existing one.
The shape of la..... More

Print this item

  Treeview actions
Posted by: swanysto - Oct-22-2022, 10:58 PM - Forum: GUI - Replies (4)

So I have been trying to learn a bit of tkinter by reading documentation and watching some videos. I have created a little price list program. It fill..... More

Print this item

  Python output didn't write properly
Posted by: mdmsd2 - Oct-22-2022, 10:06 AM - Forum: Web Scraping & Web Development - Replies (1)

[python]import requests
from subprocess import list2cmdline
import csv
import json

html_output = []
names = []

def pylist_to_list(list):
..... More

Print this item

  Banner text
Posted by: rob101 - Oct-22-2022, 09:08 AM - Forum: Code sharing - Replies (3)

Sharing a tool that a wrote that creates a uniform 'banner'.

I use use this for creating code block markers as well as banners for cli based apps, ..... More

Print this item

  Markdown in posts
Posted by: wavic - Oct-22-2022, 08:12 AM - Forum: Board - Replies (1)

I was away for a long time so I wonder if we can use markdown syntax in posts? I see that I can use those buttons in the editor but I feel more comfor..... More

Print this item

  My code displays too much output when importing class from a module
Posted by: lil_e - Oct-21-2022, 08:49 PM - Forum: General Coding Help - Replies (4)

Hi. This is my first post ever in a Python forum, and I'm a beginner so please bear with me Rolleyes

I have two sets of codes called restaura..... More

Print this item

  Auto-py-to-exe Stuck At 'Initializing'
Posted by: killingtime - Oct-21-2022, 06:36 PM - Forum: General Coding Help - Replies (5)

Hi,

I'm trying to convert a python script to a Windows exe on Windows 7.

I have Python 3.8 installed.
I have auto-py-to-exe installed using the comm..... More


Attached Files

.txt   install.txt (Size: 4.01 KB / Downloads: 538)
Print this item

  [split] why can't i create a list of numbers (ints) with random.randrange()
Posted by: astral_travel - Oct-21-2022, 04:08 PM - Forum: General Coding Help - Replies (7)

hey,

why can't i create a list of numbers (integers) with the random.randrange() method
as in:

[python]
print(random.randrange(0,100,2))
[/py..... More

Print this item

  Python310 and Python37 in my path - should I get rid of 37?
Posted by: omar - Oct-21-2022, 03:03 PM - Forum: General Coding Help - Replies (1)

I have C:\Users\myusername\AppData\Local\Programs\Python\Python310\
and C:\Users\myusername\AppData\Local\Programs\Python\Python37\

In my path env..... More

Print this item

Question Running an action only if time condition is met
Posted by: alexbca - Oct-21-2022, 05:32 AM - Forum: General Coding Help - Replies (5)

Hi everyone! Newbie here, I am using the below script to generate a push notification when I get a delivery at home / someone walks into my garden, us..... More

Print this item

  Brute Forcing RAR file using several PC Paying in Bitcoin
Posted by: Calli - Oct-21-2022, 03:52 AM - Forum: Jobs - Replies (6)

Lets say hypothetically I have a rar file, version 3 to be precise which starts with $RAR3$*0*
tip
[i][size=xx-small]We can extract..... More

Print this item

  pygame screem size
Posted by: Yegor123 - Oct-21-2022, 03:18 AM - Forum: General Coding Help - Replies (11)

Im making my first pygame and Im having toruble with screen size whenever i Hit run I cant see my player hes like hidden underneath the map Here is an..... More


Attached Files

Thumbnail(s)
   
Print this item

  Rename multiple photos with DateTimeOriginal timestamp
Posted by: Stjude1982 - Oct-20-2022, 09:08 PM - Forum: General Coding Help - Replies (2)

Hi,

I'm still very much in the learning phase of creating python programs.

At present, I'm trying to sort Google Photos onto PC but going forwar..... More


Attached Files

.py   RenameGooglePhotos.py (Size: 815 bytes / Downloads: 238)
Print this item

  Hiding username and password on sql
Posted by: tantony - Oct-20-2022, 07:04 PM - Forum: General Coding Help - Replies (10)

In my Python code, I have my username and password entered as plain text. But this is not the best practice since now anyone that see my code also kn..... More

Print this item

  question about micro frameworks
Posted by: mahdiar1382 - Oct-20-2022, 03:45 PM - Forum: General Coding Help - Replies (2)

hello
which micro framework recommended for web design field?
and must we know something special when we want to coding in flask micro framework ?

Print this item

  Def error
Posted by: Led_Zeppelin - Oct-20-2022, 11:44 AM - Forum: General Coding Help - Replies (2)

The following function (method):

[code]
def get_cv_heatmap(validation):
"""
Function to plot heat map of cross validation results
"..... More

Print this item

  method to remove zero digits from fraction in decimal
Posted by: Skaperen - Oct-20-2022, 05:17 AM - Forum: General Coding Help - Replies (17)

when a decimal number is a whole (integral, integer-like) number, it gets converted to string without the ".0". but if i take the result of calculati..... More

Print this item

  Removing leading\trailing spaces
Posted by: azizrasul - Oct-20-2022, 02:41 AM - Forum: General Coding Help - Replies (8)

I obtain daily csv files where the header values contain leading\trailing space values which I want to remove. In some cases, there can be 2 spaces an..... More

Print this item

  convert this List Comprehensions to loop
Posted by: jacklee26 - Oct-20-2022, 02:38 AM - Forum: General Coding Help - Replies (8)

Does anyone know how to convert this List Comprehensions to normal for loop code:
[python]
results = ['A' , 'B', 'C' , 'D']
]for i in [results[c:c+2..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  IP address for users 3 hours ago Robots itx_sumeet Networking
  Lottery generator (beginn... 8 hours ago Hullari Pedroski55 General Codin...
  Calling python from anoth... 10 hours ago eedjsa bowlofred General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
  Looking for constructive ... 12-24, 03:16 decuser cecrease News and Disc...
  [PyQt] Switching from bat... 12-23, 21:38 arbiel arbiel GUI
  Exploring Different Pytho... 12-23, 13:01 girish_benvanshi ankitsharma32 News and Disc...
  We open-sourced kubesdk —... 12-21, 11:52 beslanpuzl beslanpuzl Code sharing
  a function to watch files 12-21, 07:43 Skaperen Gribouillis News and Disc...
Most views
  The best Prog... 580339
  Tutorial Requ... 518880
  Web Scraping ... 442761
  Newbie with P... 386944
  New Users Int... 386072
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
zashleyfracesz3221 Today
itx_sumeet Today
zaathonyshulze4201 Today
Michaelhauct Yesterday
eedjsa Yesterday

User Panel Messages

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