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,975
» Latest member: Schirag
» Forum threads: 38,732
» Forum posts: 175,562

Full Statistics

Online Users
There are currently 49 online users.
» 1 Member(s) | 38 Guest(s)
Google, Bing, Apple, AOL, AOL, Twitter

Latest Threads
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
3 hours ago
» Replies: 2
» Views: 158
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
10 hours ago
» Replies: 2
» Views: 793
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 05:45 PM
» Replies: 6
» Views: 833
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 12:59 PM
» Replies: 8
» Views: 530
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 2,904
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,309
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,881
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,304
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,229
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,548

 
  __init__ question
Posted by: dcollett - Mar-26-2020, 02:18 PM - Forum: General Coding Help - Replies (10)

Hi, everyone. I'm happy to have found this forum. I believe this is a basic question about __init__, but I haven't been able to find an answer online...... More

Print this item

  New to Python, How does this lambda expression works?
Posted by: Joshh_33 - Mar-26-2020, 01:58 PM - Forum: General Coding Help - Replies (2)

Hi,

I would like to arrange the tuple in ascending order according to the price.
The first one,("Product1") is the name of the ..... More

Print this item

  Matplotlib figure not showing cursor coordinates in the figure window
Posted by: mart79 - Mar-26-2020, 01:48 PM - Forum: GUI - No Replies

I have a figure on my form but, for some reason, it does not show the cursor coordinates.
Does anyone have an idea how to get those in?

Found it: see..... More

Print this item

  PYTesseract Problem
Posted by: gw1500se - Mar-26-2020, 01:35 PM - Forum: General Coding Help - Replies (2)

I've installed PYTesseract but cannot use it. I am getting a traceback that makes no sense to me.
[error]
Traceback (most recent call last):
File..... More

Print this item

  PIP Installation problem with VS Build tools
Posted by: Hanneth - Mar-26-2020, 11:00 AM - Forum: News and Discussions - Replies (1)

Hello,

I got myself the x64 python 3.7.7 version and I got an error message during installation of jsonlib.
From my understanding, pip is using th..... More

Print this item

  Newbie to Python Why does this if statement not work?
Posted by: Wrightys99 - Mar-26-2020, 10:23 AM - Forum: General Coding Help - Replies (5)

Hi

Im new to Python but have programmed in Basic many many years ago.

Im trying to help my daugther with her Python homework, and for the life o..... More

Print this item

  Problem with user defined main menu function
Posted by: stefzeer - Mar-26-2020, 10:21 AM - Forum: General Coding Help - Replies (3)

Hello,

I am writing a little python script to perform various sysadmin tasks. I have defined the main menu where you pick the choice of task to per..... More

Print this item

  How does pyplot know what was plotted by the output of pandas.DataFrame(...).cumprod(
Posted by: codeowl - Mar-26-2020, 10:01 AM - Forum: Data Science - Replies (2)

Hi there,

I am coming from a decade of C# programming to learn python, and trying to wrap my head around how things work.
There seems to be a lot ..... More

Print this item

  Simple cards game
Posted by: blackpanda - Mar-26-2020, 09:47 AM - Forum: General Coding Help - Replies (3)

Please help, I'm new to python and I've been trying to figure this out for HOURS.
I must create a program that follows these rules:

1. The game st..... More

Print this item

  SyntaxError: invalid syntax
Posted by: windows11 - Mar-26-2020, 09:08 AM - Forum: General Coding Help - Replies (5)

Hello guys, I dont understand why this is not working.

If I use this, works


[python]

def my_function(i):
while i<a:
print(f[i])
i=..... More

Print this item

  Python zeep offline installation on RHEL
Posted by: akinmhmt - Mar-26-2020, 09:04 AM - Forum: General Coding Help - No Replies

Hi All,

I need to install Python zeep library on RHEL. I have zeep.tar.gz file. I need to install it offline because I don't have internet access ..... More

Print this item

  Hi everyone
Posted by: astral_travel - Mar-26-2020, 08:54 AM - Forum: General Coding Help - Replies (2)

i have this code, and for some reason the compiler sees the input() of (what's your age) as string, instead of integer.

what to do ?

i appreciat..... More

Print this item

  Automatic login hidden form
Posted by: Andra111 - Mar-26-2020, 08:06 AM - Forum: Web Scraping & Web Development - No Replies

Hi there,
I am trying to perform auto login to a https://www.racingpost.com/ but there is a hidden form (need to click a button before entering emai..... More

Print this item

  Create an audio streaming platform like YouTube
Posted by: Robk - Mar-26-2020, 07:08 AM - Forum: News and Discussions - Replies (1)

Hi,

Im planning to create a platform like YouTube (only the minimum amount of functions!) where one can upload .mp3 file (a podcast) so others can ..... More

Print this item

  python equivalent to MATLAB xcov
Posted by: chai0404 - Mar-26-2020, 04:59 AM - Forum: General Coding Help - Replies (2)

Hi,
Is there a python equivalent to MATLAB's xcov?
I am trying to do a cross-covariance.
Cheers!

Print this item

  Error Installing PySceneDetect and OpenCV
Posted by: jpnoli - Mar-26-2020, 03:36 AM - Forum: General Coding Help - Replies (1)

I'm trying to break up home videos into sub-clips. I found PySceneDetect which seems like an awesome tool (https://pyscenedetect.readthedocs.io/en/la..... More

Print this item

  need help in conditional statement if else
Posted by: kambohg - Mar-26-2020, 01:49 AM - Forum: General Coding Help - Replies (3)

hi need your help regarding if else function
here is my code
whatever id pass i put its make true and i use AND to check user and password sametime..... More

Print this item

  aws lambda event.get object equivalent
Posted by: premupdate - Mar-26-2020, 01:43 AM - Forum: General Coding Help - No Replies

Hello Experts,

Am trying to test a python code in the unix server which is currently working in AWS lambda function.

The lambda function gets it..... More

Print this item

  error while using the try
Posted by: it1mbrown - Mar-26-2020, 01:20 AM - Forum: General Coding Help - Replies (2)

When trying to run this portion of code, I received= default 'except:' must be last


try:
range2 = int(input('Enter Low Range:'))
except:
..... More

Print this item

  Print Values from a Sequence of Entries / ComboBoxes
Posted by: MC2020 - Mar-26-2020, 01:07 AM - Forum: GUI - Replies (4)

Hi - I want to build a program to add a basketball lineup.

Ideally I want the output to be (as an example):
Center, John
Point Guard, Jack
Shoot..... More

Print this item

  Covert Shapely Point() to (x, y)
Posted by: michael1789 - Mar-26-2020, 12:33 AM - Forum: General Coding Help - No Replies

I'm trying to convert a Point from a Shapely Linestring.intersection() into (x, y) coordinates that I can use.

Why does this work:
[python]
from ..... More

Print this item

  Other modules for reading audio files?
Posted by: jedzz - Mar-25-2020, 11:07 PM - Forum: General Coding Help - No Replies

I need some recommendations for modules that I can use for analysing audio files (I don't need it to work with a specific file type); I'm specifically..... More

Print this item

  Running two scripts and more....
Posted by: Brian_c - Mar-25-2020, 10:31 PM - Forum: General Coding Help - No Replies

Hi all, (not sure if this is the right place for this)

I'm very new to this and only just getting my head round the most basic commands. Anything I..... More

Print this item

  Display MySQL data in QLlineEdit text boxes
Posted by: JayCee - Mar-25-2020, 10:28 PM - Forum: GUI - Replies (1)

Hello everyone,

Greetings from Brazil! I'm a beginner learning Python, switching from C# .NET.

Here's the scenario: I was able to create a GUI..... More

Print this item

  How to extract specific rows and columns from a text file with Python
Posted by: Farhan - Mar-25-2020, 09:18 PM - Forum: General Coding Help - No Replies

I am new in Python. I need to extract all the net names and toggle rates from a text file. Total 179456 nets. Screenshot below:
[img]https://i.stack..... More

Print this item

  Need help with an error
Posted by: Miguel_Lona605 - Mar-25-2020, 09:15 PM - Forum: GUI - Replies (3)

Sorry, this is probably a dumb question but im still studing python
im making a calculator with guizero and i have this error

[error]>>> Exception..... More

Print this item

  iterate through query result
Posted by: bigt - Mar-25-2020, 06:16 PM - Forum: General Coding Help - Replies (9)

I am trying to take data from a database and put it in an excel spreadsheet.

##################################
[python]with connection.cursor(..... More

Print this item

  dot product of a list by a list in a dictionary stored as a value
Posted by: Fraher123 - Mar-25-2020, 05:27 PM - Forum: General Coding Help - Replies (1)

def similiar():
n=input()
for name,rating in ratingsdict.items():
if name == n:
return(rating)

for key in r..... More

Print this item

  Netmiko timing out after sending command
Posted by: c7borg - Mar-25-2020, 04:52 PM - Forum: Networking - No Replies

[font=Arial, Helvetica, sans-serif]The purpose of my script is to connect to our FTD (Firepower threat defence) and run a packet capture then ftp it t..... More

Print this item

  Question about naming variables in class methods
Posted by: sShadowSerpent - Mar-25-2020, 04:43 PM - Forum: General Coding Help - Replies (1)

Hi there, in the following code I have a class method called addFormattedCosts. I get that when working with instance variables you use the "self" key..... More

Print this item

  How to compare two PDFs for differences
Posted by: Normanie - Mar-25-2020, 04:22 PM - Forum: General Coding Help - Replies (2)

Hello,

I receive two PDFs daily from two different sources. Theoretically they're supposed to have the exact same numbers - but I would like to creat..... More

Print this item

  python pandas: diff between 2 dates in a groupby
Posted by: bluedragon - Mar-25-2020, 04:18 PM - Forum: Data Science - No Replies

Hi all,

I'm trying to implement this example:

[python]import pandas as pd
import io
df = pd.read_csv(io.StringIO('''transactionid;event;dateti..... More

Print this item

  Unsupervised ML Intrusion detection system
Posted by: CammyS32 - Mar-25-2020, 03:50 PM - Forum: Data Science - No Replies

Hey guys, I am new to coding. I study Digital Forensics, security and ethical hacking at uni in which I want to pursue Pen testing.
For my 4th year..... More

Print this item

  Python 2.7.3 Server 2019
Posted by: tpotucek - Mar-25-2020, 03:24 PM - Forum: Web Scraping & Web Development - No Replies

We have a customer that we moved from server 2012 to 2019. They are using Python 2.7.3 They are having slowness issues. I know that 2.7.3 is a vers..... More

Print this item

  change of impulse direction Pymunk
Posted by: gesikk99 - Mar-25-2020, 02:35 PM - Forum: Game Development - No Replies

was anyone able to help?


https://stackoverflow.com/questions/6084...unk-python

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Integer Factorization Too... 3 hours ago fosuwxb buran Code sharing
  My goal to be hired worki... 10 hours ago GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... Yesterday, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... Yesterday, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
Most views
  The best Prog... 577345
  Tutorial Requ... 500669
  Web Scraping ... 441007
  Newbie with P... 385046
  New Users Int... 369538
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+ 12090
buran 8178
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Schirag Today
Jacobjoift Today
sophielane Yesterday
Oscar0057 Yesterday
Cromulent Yesterday

User Panel Messages

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