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,934
» Latest member: XenonBlack
» Forum threads: 38,723
» Forum posts: 175,504

Full Statistics

Online Users
There are currently 50 online users.
» 2 Member(s) | 42 Guest(s)
Apple, Bing, Google, AOL, AOL, Gribouillis, kshahzad1985

Latest Threads
ShanePulse
Forum: General Coding Help
Last Post: OLanePulse
21 minutes ago
» Replies: 0
» Views: 5
Too much space between gr...
Forum: GUI
Last Post: RonR
55 minutes ago
» Replies: 2
» Views: 818
How Reliable Is Assignmen...
Forum: News and Discussions
Last Post: tobey12
4 hours ago
» Replies: 0
» Views: 34
Expert Guidance Made Easy...
Forum: General Coding Help
Last Post: Alex12
5 hours ago
» Replies: 0
» Views: 42
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
8 hours ago
» Replies: 1
» Views: 351
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 08:58 PM
» Replies: 8
» Views: 2,401
real community
Forum: News and Discussions
Last Post: decuser
Yesterday, 08:16 PM
» Replies: 3
» Views: 1,491
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:45 PM
» Replies: 1
» Views: 337
looking for help
Forum: Bar
Last Post: Azdaghost
Yesterday, 05:03 PM
» Replies: 0
» Views: 109
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Yesterday, 03:28 PM
» Replies: 7
» Views: 2,853

 
  Command line argument issue space issue
Posted by: mg24 - Oct-26-2022, 03:48 PM - Forum: General Coding Help - Replies (5)

Hi Team,

I am running this script via command line it is working.
python test.py sql_Table1 "\\IND200300400.XXX.XXXX.XXX\Recon Project\output1"
..... More

Print this item

Bug Writing in a document problem
Posted by: IOHANNES - Oct-26-2022, 11:45 AM - Forum: General Coding Help - Replies (4)

Hi everyone, i'm French and i try to code in python language. In university we have to code in html/xml and i try to developp an app that put automati..... More

Print this item

  Code won't break While loop or go back to the input?
Posted by: MrKnd94 - Oct-26-2022, 09:36 AM - Forum: General Coding Help - Replies (2)

Hello,

I'm trying to input a list with a While loop, and then print the list when it is over 100 (the number), but it keeps going even though I put..... More

Print this item

  a wish
Posted by: Skaperen - Oct-26-2022, 12:35 AM - Forum: Bar - No Replies

i wish i really could get my real life weight down to that of a duck. oh wait. that would be too far underweight.

Print this item

  1 in (True,)
Posted by: Skaperen - Oct-26-2022, 12:31 AM - Forum: News and Discussions - Replies (1)

Output:
>>> 1 in (True,) True
i finally got a round tuit and tested this. and it was so simple to test. what i need to do is m..... More

Print this item

  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

this is my form in form.py:
[python]
from django import forms
from django.contrib.auth.models import User


class UserRegistrationForm(forms.Mod..... 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: 513)
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: 223)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  ShanePulse 21 minutes ago OLanePulse OLanePulse General Codin...
  [Tkinter] Too much space ... 55 minutes ago RonR RonR GUI
  How Reliable Is Assignmen... 4 hours ago tobey12 tobey12 News and Disc...
  Expert Guidance Made Easy... 5 hours ago Alex12 Alex12 General Codin...
  Another app idea - intera... 8 hours ago decuser Lenowell News and Disc...
  403 Error Yesterday, 20:58 CaptainNewb snippsat Web Scraping ...
  real community Yesterday, 20:16 decuser decuser News and Disc...
  variable changing types f... Yesterday, 18:45 Azdaghost Gribouillis General Codin...
  looking for help Yesterday, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... Yesterday, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
Most views
  The best Prog... 575802
  Tutorial Requ... 497056
  Web Scraping ... 439814
  Newbie with P... 383509
  New Users Int... 365341
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+ 12087
buran 8174
snippsat 7367
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
XenonBlack Today
tobey12 Today
Alex12 Today
Lenowell Today
luisshulez6883 Yesterday

User Panel Messages

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