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,930
» Latest member: luisshulez6883
» Forum threads: 38,720
» Forum posts: 175,499

Full Statistics

Online Users
There are currently 48 online users.
» 0 Member(s) | 43 Guest(s)
Bing, AOL, Google, Apple

Latest Threads
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
8 hours ago
» Replies: 8
» Views: 2,289
real community
Forum: News and Discussions
Last Post: decuser
9 hours ago
» Replies: 3
» Views: 1,423
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
10 hours ago
» Replies: 1
» Views: 230
looking for help
Forum: Bar
Last Post: Azdaghost
Yesterday, 05:03 PM
» Replies: 0
» Views: 78
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Yesterday, 03:28 PM
» Replies: 7
» Views: 2,760
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,010
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 704
New to Python and Pygame
Forum: Game Development
Last Post: JMcM
Sep-14-2025, 11:25 AM
» Replies: 7
» Views: 2,053
Python Installation issue
Forum: News and Discussions
Last Post: Dev
Sep-14-2025, 11:16 AM
» Replies: 4
» Views: 15,937
New to the field
Forum: News and Discussions
Last Post: Larz60+
Sep-14-2025, 08:15 AM
» Replies: 1
» Views: 595

 
  Making my way back into programming and need a little help.
Posted by: joegibbstruck - Oct-12-2023, 07:47 PM - Forum: General Coding Help - Replies (2)

Hey guys, my name is James I'm from Houston, TX, it's been roughly 22yrs since I last tried any programming in college. I recently decided to try and ..... More

Print this item

  Active Directory integration
Posted by: dady - Oct-12-2023, 07:10 PM - Forum: General Coding Help - Replies (2)

Hi all,

I would like to know what's the best way for working with Python and Active Directory?

Thanks in advance.

Print this item

  Can Python be my replacement for VBScript?
Posted by: Moondoggy - Oct-12-2023, 05:53 PM - Forum: News and Discussions - Replies (3)

I read yesterday that Microsoft is going to discontinue VBScript in future releases of Windows which will eventually create a few problems for me so I..... More

Print this item

  datetime module question
Posted by: jacksfrustration - Oct-12-2023, 11:01 AM - Forum: General Coding Help - Replies (9)

Basically i want to make a list of days and dates for the current month. I want to be able to make the list as options in an optionmenu widget. The fo..... More

Print this item

  Does @ at sign used for tother than decorators?
Posted by: ggpython000 - Oct-12-2023, 08:57 AM - Forum: General Coding Help - Replies (1)

I have simple example for decorator usage which is straightforward to understand:
[python]
def print_fcn_name(func):
def wrapper():
..... More

Print this item

  Facing issue in python regex newline match
Posted by: Shr - Oct-12-2023, 08:54 AM - Forum: General Coding Help - Replies (6)

Hi Everyone,

.Myc PGGGGG_UIII_Q9999_AB A0 B11 B22 D1 D2 D3
+ 4I 3B

I am trying to match the above two line using regex.

\.(myc|Myc)\s+([a-zA..... More

Print this item

  replace text in a txt
Posted by: cartonics - Oct-12-2023, 07:48 AM - Forum: General Coding Help - Replies (19)

[python]# Read in the file
with open('lista.txt', 'r') as file:
filedata = file.read()

# Replace the target string
filedata = filedata.replace..... More

Print this item

  Noon Beginner
Posted by: stix77 - Oct-12-2023, 05:36 AM - Forum: News and Discussions - Replies (2)

I just would like to know where I could learn python for a beginner? What would be the best path for this?

Print this item

  my python project for school
Posted by: vavervirus - Oct-12-2023, 03:15 AM - Forum: Homework - Replies (2)

Hello I am in grade 11 and have to finish a comp sci project, but my teacher doesn't really teach I was wondering if anyone can make me a simple code ..... More


Attached Files

.pdf   3.02 lab 2023.pdf (Size: 133.77 KB / Downloads: 272)
Print this item

  JSON Dump and JSON Load
Posted by: foxholenoob - Oct-12-2023, 12:27 AM - Forum: General Coding Help - Replies (8)

I apologize, the insert code snippet button isn't working.

I am having an issue dumping to json and then reading back in. When I read it back in corr..... More

Print this item

  __name__ and __main__ in functions
Posted by: Mark17 - Oct-11-2023, 06:09 PM - Forum: General Coding Help - Replies (3)

Here's a short program:
[code]
lwords = ["a", "an", "and", "as", "at", "but", "for", "how", "if", "in", "of", "off", "nor", "or", "so", "the", "to",..... More

Print this item

  macOS Sonoma (14) seems to need a newer version of Tcl/Tk
Posted by: gernophil - Oct-11-2023, 02:44 PM - Forum: GUI - Replies (1)

Window behavior is buggy with Tcl/Tk version 8.6.12:
https://github.com/Anjok07/ultimatevocal...issues/840
https://github.com/TomSchimansky/..... More

Print this item

  Object Detection with ESP32 CAM.
Posted by: MateoG - Oct-11-2023, 01:44 PM - Forum: Homework - No Replies

Hello, I'm trying to do the following: https://youtu.be/A1SPJSVra9I?si=hI7GlHYcjmXrZWXj but when I click "Run," the "live streaming" and "detection" w..... More

Print this item

  `VSCODE_ENV_REPLACE` in vscode
Posted by: cdaman - Oct-11-2023, 10:24 AM - Forum: General Coding Help - No Replies

Hello,
I am using poetry to managing python project. In vscode terminal when i open that project I got an env variable VSCODE_ENV_REPLACE which con..... More

Print this item

  Input network device connection info from data file
Posted by: edroche3rd - Oct-10-2023, 06:04 PM - Forum: General Coding Help - Replies (6)

Good afternoon all!

Little background...I am new to Python but am a network engineer trying to leverage Python for repetitive tasks. My current tas..... More

Print this item

  add entries and labels to the window tkinter
Posted by: jacksfrustration - Oct-10-2023, 02:42 PM - Forum: General Coding Help - Replies (3)

Basically i want to build an app where the user can add entries and labels to the window
i have the following code

[python]
global cur_row,count..... More

Print this item

  Modify an Energy Model to account for year dependent interest rate rather than only t
Posted by: giovanniandrean - Oct-10-2023, 07:00 AM - Forum: General Coding Help - No Replies

The energy model is structured as follows and uses excel sheets to give input data:

1.Utility.py contains all the functions needed to calculate the..... More

Print this item

  Python and pandas: Aggregate lines form Excel sheet
Posted by: Glyxbringer - Oct-09-2023, 06:27 PM - Forum: General Coding Help - Replies (12)

Hello dear community,

I am faced with a challenge and need your expertise. I am working with an Excel spreadsheet that contains various columns.
I..... More

Print this item

  Connecting to LDAP through Python
Posted by: ranjansanyal2007 - Oct-09-2023, 05:21 PM - Forum: General Coding Help - No Replies

Hi,

I am trying to connect to LDAP with SSL authentication. I installed ldap3, unbale to install ldap. I am not sure how to select the certificates..... More

Print this item

  How to automate loop test check on Network device
Posted by: jpc230 - Oct-09-2023, 04:33 PM - Forum: General Coding Help - Replies (1)

Hi All,

I'm an experienced Network Engineer but a beginner in python, I have the basics in python, I know how to write basic script with list, dictio..... More

Print this item

  What data types can I use for default values?
Posted by: Mark17 - Oct-09-2023, 01:50 PM - Forum: General Coding Help - Replies (1)

I'm working my way through _Teach Yourself Visually Python_ (2022). This example was presented:
[code]
def parlay(odds1, odds2, odds3 = None, odds4..... More

Print this item

  problem in using enumerate
Posted by: akbarza - Oct-09-2023, 01:12 PM - Forum: General Coding Help - Replies (4)

hi
in below code:
[python]name=["ali", "mohammad","fatemeh"]
age=[9,8,12]
fields=["engineering","pilot","doctor"]
result=list(zip(name,age,fields..... More

Print this item

  alpha advantage api question
Posted by: jacksfrustration - Oct-09-2023, 12:21 PM - Forum: General Coding Help - Replies (1)

Basically i want to build an app that checks the closing price of a company every day. This app will check th two previous dates closing prices. In th..... More

Print this item

  UndefinedEnvironmentName: 'extra' does not exist in evaluation environment
Posted by: EarthAndMoon - Oct-09-2023, 08:47 AM - Forum: General Coding Help - Replies (3)

I'm trying to bundle a game (made with Ursina) to an .exe with Pyinstaller, but it doesn't work.

The imports of the main game file:

[python]from..... More

Print this item

  Symplify symbolic expression
Posted by: Pavel_47 - Oct-08-2023, 06:34 PM - Forum: Data Science - Replies (1)

Hello,
Using lcapy module produced following expression for transfer function:
H
⎛ s⋅(C_d + C_id) ⎞
⎜───..... More

Print this item

Sad Help! Program in python
Posted by: lana - Oct-08-2023, 04:37 PM - Forum: Homework - Replies (4)

Write a program that determines whether a point falls on
given coordinates into the shaded area. Points on the border
belong to the area. Obtain the..... More


Attached Files

Thumbnail(s)
   

.pdf   111.pdf (Size: 266.27 KB / Downloads: 271)
.pdf   222.pdf (Size: 140.72 KB / Downloads: 245)
Print this item

Question Write a program in python
Posted by: lana - Oct-08-2023, 04:20 PM - Forum: Homework - Replies (6)

Write a program in python that, based on the entered argument value,
calculates the value of a function specified as a graph.
[i]Sorry for my ..... More


Attached Files

Thumbnail(s)
   
Print this item

  best practice example data science
Posted by: mostafa705 - Oct-08-2023, 07:10 AM - Forum: News and Discussions - Replies (1)

hi all !
Can anyone to help to introduce the best practice example reference or book for data science using python?
(I want only practice data scien..... More

Print this item

  Coding error.
Posted by: xflyerwdavis - Oct-07-2023, 05:42 PM - Forum: General Coding Help - Replies (2)

I am using Python programming by John Zelle. I am trying to work on the example on page 12. I am coding exactly as it is coded in the example. I am ge..... More

Print this item

  An interesting BUG with double assignment
Posted by: Gribouillis - Oct-07-2023, 04:34 PM - Forum: News and Discussions - Replies (2)

I came across the following bug

D = dict()
D = D['spam'] = dict()
I expected that D['spam'] = dict() would create ..... More

Print this item

  How can I create menu in Python?
Posted by: khagan07 - Oct-07-2023, 12:32 PM - Forum: General Coding Help - Replies (1)

[img]file:///var/folders/qj/mb_4t21d44d15cz2nwpfklfr0000gn/T/TemporaryItems/NSIRD_screencaptureui_IurOyY/Ekran%20Resmi%202023-10-07%2013.31.24.png[/im..... More

Print this item

  try_finally question
Posted by: akbarza - Oct-07-2023, 11:22 AM - Forum: General Coding Help - Replies (3)

hi
I saw the below code on the net:
[python]def foo():
try:
return 1
finally:
return 2


k=foo()
print(k)[/pytho..... More

Print this item

  Isolate all images from a pdf document
Posted by: cybertooth - Oct-07-2023, 07:46 AM - Forum: General Coding Help - Replies (7)

Hi everyone. I am trying to isolate images from a pdf file. The problem I am facing is that all the images are not isolated, out of the 3 images the c..... More


Attached Files

.pdf   doc3.pdf (Size: 201.99 KB / Downloads: 216)
Print this item

  IP address for users
Posted by: Robots - Oct-07-2023, 06:10 AM - Forum: Networking - Replies (3)

Hi all -

Using Python 3 .

I have been tasked with logging the IP address, date and time when users attempt to access a database. There are many..... More

Print this item

Photo read matlab data
Posted by: pz16 - Oct-06-2023, 08:28 PM - Forum: Data Science - Replies (1)

Hello,
I have some data stored in a matab file (data.mat). The data is stored in a table as shown in the following figure (screen shot from matlab)...... More


Attached Files

Thumbnail(s)
   

.zip   data.zip (Size: 38.14 KB / Downloads: 5)
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  403 Error 8 hours ago CaptainNewb snippsat Web Scraping ...
  real community 9 hours ago decuser decuser News and Disc...
  variable changing types f... 10 hours ago 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...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame 09-14, 11:25 JMcM JMcM Game Developm...
  Python Installation issue 09-14, 11:16 RFHill Dev News and Disc...
  New to the field 09-14, 08:15 Polybunny Larz60+ News and Disc...
  [Tkinter] Too much space ... 09-14, 02:34 RonR deanhystad GUI
Most views
  The best Prog... 575760
  Tutorial Requ... 496968
  Web Scraping ... 439782
  Newbie with P... 383452
  New Users Int... 365137
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
luisshulez6883 Yesterday
KennedyRichadGuerra Yesterday
Williefaree Yesterday
faithsally Yesterday
compuman145 Yesterday

User Panel Messages

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