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,464
» Latest member: BarbaraGonzalez
» Forum threads: 38,575
» Forum posts: 174,797

Full Statistics

Online Users
There are currently 542 online users.
» 0 Member(s) | 536 Guest(s)
Google, Yandex, Baidu, Twitter, AOL

Latest Threads
Retired and Learning Pyth...
Forum: Code sharing
Last Post: BarbaraGonzalez
2 hours ago
» Replies: 1
» Views: 318
Pip help
Forum: General Coding Help
Last Post: Larz60+
5 hours ago
» Replies: 4
» Views: 288
Paste text with caret alr...
Forum: General Coding Help
Last Post: armorerratic
10 hours ago
» Replies: 2
» Views: 939
problems with netcdf if I...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 10:16 PM
» Replies: 14
» Views: 954
Return a string or byte o...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 09:43 PM
» Replies: 2
» Views: 110
Library Management System
Forum: Homework
Last Post: deanhystad
Yesterday, 01:56 AM
» Replies: 1
» Views: 140
smbus.SMBus i2c code whic...
Forum: General Coding Help
Last Post: NewbyTyro
May-12-2025, 03:51 PM
» Replies: 2
» Views: 265
Why are the PythonT symli...
Forum: News and Discussions
Last Post: gernophil
May-12-2025, 08:10 AM
» Replies: 0
» Views: 122
Send SMS from my phone nu...
Forum: General Coding Help
Last Post: TheTechNexus
May-11-2025, 05:48 PM
» Replies: 4
» Views: 3,812
[SOLVED] [Beautiful Soup]...
Forum: General Coding Help
Last Post: Winfried
May-11-2025, 05:32 PM
» Replies: 3
» Views: 467

 
  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: 231)
.pdf   222.pdf (Size: 140.72 KB / Downloads: 216)
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: 179)
Print this item

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

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

  Lists
Posted by: blake7 - Oct-06-2023, 11:22 AM - Forum: General Coding Help - Replies (6)

Fairly new to Python, having some issues with lists.

I am trying to scrape a Cisco Switch config file

So I am splitting the file using ! and the..... More

Print this item

  problem In using functools in a code
Posted by: akbarza - Oct-06-2023, 10:27 AM - Forum: General Coding Help - Replies (7)

hi
in code:
[python]# from: https://python.coderz.ir/lessons/l13-dec...tions.html
import functools
import..... More

Print this item

  Splitting imports off into a separate thread - suggestion for importlib
Posted by: ArnoDuvenhage - Oct-06-2023, 09:38 AM - Forum: News and Discussions - Replies (1)

I don't know where to make such a suggestion, so I'm bringing the topic up on this forum.

In short, I have a proof of concept that allows a user to..... More

Print this item

  How to profile tornado web app ?
Posted by: umen - Oct-06-2023, 08:55 AM - Forum: Web Scraping & Web Development - Replies (2)

Hello all,
I have a legacy Tornado web app that I need to profile. What is the best tool for that?
At first glance, it seems like there is a missin..... More

Print this item

  Help Scraping links and table from link
Posted by: cartonics - Oct-06-2023, 08:32 AM - Forum: Web Scraping & Web Development - Replies (11)

[python]from bs4 import BeautifulSoup
from bs4.dammit import EncodingDetector
import requests

parser = 'html.parser' # or 'lxml' (preferred) or ..... More

Print this item

  How to summarize an article that is stored in a word document on your laptop?
Posted by: Mikedicenso87 - Oct-05-2023, 09:26 PM - Forum: General Coding Help - Replies (2)

So I am new here.... I wrote a code in pycharm that summarizes articles online. This is the code below: it works fine. what about if I want to summari..... More

Print this item

  Alphabetical or ASCII?
Posted by: Mark17 - Oct-05-2023, 07:49 PM - Forum: General Coding Help - Replies (6)

Here's a program from an intro book:

[code]
x = input("Enter some input for identification: ")
if x.isalnum():
if x.isalpha():
r = ..... More

Print this item

  Find a specific keyword after another keyword and change the output
Posted by: sgtmcc - Oct-05-2023, 11:50 AM - Forum: General Coding Help - Replies (5)

I will start off by saying I am new to Python and I have searched Google for a fix to my problem. Maybe I did not search it well enough, or did not se..... More

Print this item

Sad Migrating of python2 script to python3
Posted by: zuri - Oct-05-2023, 11:27 AM - Forum: General Coding Help - Replies (7)

Hello Fellow Python users i have a frontend code and other backend,libraries that i need to convert them from python2 to python3 but while trying usin..... More


Attached Files

Thumbnail(s)
   
Print this item

  neeed to activate a custom tk slider
Posted by: janeik - Oct-05-2023, 03:34 AM - Forum: GUI - Replies (1)

hello.
At present time,I need to mouse click on the slider1 manually to activate it (to change transparency of a top level window.
How do I activate..... More

Print this item

  Online Python Editors with Built-in Compilers
Posted by: Elon_Warner - Oct-04-2023, 08:35 PM - Forum: News and Discussions - Replies (1)

In the ever-evolving world of programming, Python stands out as one of the most popular and versatile languages. Whether you're a seasoned developer o..... More

Print this item

  Different code execution times
Posted by: Wirbelwind94 - Oct-04-2023, 06:06 PM - Forum: General Coding Help - Replies (4)

Hi,
i have the problem with the following code that it takes extremely long time to run completely under Python 3.9 - 3.11. but under 3.6 - 3.8 it wo..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Retired and Learning Pyth... 2 hours ago breacsealgaire BarbaraGonzalez Code sharing
  Pip help 5 hours ago meditek Larz60+ General Codin...
  Paste text with caret alr... 10 hours ago Wehaveall armorerratic General Codin...
  problems with netcdf if I... Yesterday, 22:16 Blaubart Larz60+ General Codin...
  Return a string or byte o... Yesterday, 21:43 Calab DeaD_EyE General Codin...
  Library Management System Yesterday, 01:56 annajoy deanhystad Homework
  smbus.SMBus i2c code whic... 05-12, 15:51 NewbyTyro NewbyTyro General Codin...
  Why are the PythonT symli... 05-12, 08:10 gernophil gernophil News and Disc...
  Send SMS from my phone nu... 05-11, 17:48 aster TheTechNexus General Codin...
  [SOLVED] [Beautiful Soup]... 05-11, 17:32 Winfried Winfried General Codin...
  [SOLVED] [Windows] Change... 05-11, 16:24 Winfried Winfried General Codin...
Most views
  The best Prog... 563182
  Tutorial Requ... 447085
  Web Scraping ... 428211
  Newbie with P... 361955
  Thread remain... 334603
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12050
buran 8169
snippsat 7324
deanhystad 6826
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
BarbaraGonzalez Today
william224477 Today
ellena Today
armorerratic Today
Trabajo Yesterday

User Panel Messages

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