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,242
» Latest member: johnsonlucas83
» Forum threads: 38,777
» Forum posts: 175,797

Full Statistics

Online Users
There are currently 48 online users.
» 2 Member(s) | 41 Guest(s)
Google, Apple, AOL, buran, woooee

Latest Threads
I’m building a Python Dat...
Forum: GUI
Last Post: woooee
1 minute ago
» Replies: 3
» Views: 123
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
11 hours ago
» Replies: 1
» Views: 54
Data Science
Forum: Data Science
Last Post: mamta25
11 hours ago
» Replies: 3
» Views: 2,579
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:56 AM
» Replies: 4
» Views: 154
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Nov-08-2025, 10:39 AM
» Replies: 3
» Views: 139
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 137
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,418
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,385
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,584
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 218

 
  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: 301)
.pdf   222.pdf (Size: 140.72 KB / Downloads: 261)
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: 233)
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

  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

  How to read module/class from list of strings?
Posted by: popular_dog - Oct-04-2023, 02:01 PM - Forum: General Coding Help - Replies (1)

How can I get 'string_wrong' to print out what 'correct' is printing out?

[python]
from google.cloud import bigquery

corret = [bigquery.SchemaF..... More

Print this item

  cant click button by script at page
Posted by: michael1834 - Oct-04-2023, 12:27 PM - Forum: Web Scraping & Web Development - Replies (1)

i try to click button, which, when clicked, should send the contract number and return data in the table

[quote]
<button class="k-primary k-button k-..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] I’m building a ... 1 minute ago tsgiannis woooee GUI
  [split] print two differe... 11 hours ago Reema Gribouillis General Codin...
  Data Science 11 hours ago Oshadha mamta25 Data Science
  Two arguments in input fu... Yesterday, 00:56 Alfredd Pedroski55 General Codin...
  Backward compatibility qu... 11-08, 10:39 yutaozhou buran News and Disc...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
Most views
  The best Prog... 578741
  Tutorial Requ... 509467
  Web Scraping ... 441876
  Newbie with P... 385841
  New Users Int... 375418
Most reputation
buran 581
snippsat 510
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
johnsonlucas83 Today
ColorTig Today
AcoolPurpleOne1863 Today
racingsubby Today
Reema Today

User Panel Messages

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