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,275
» Latest member: cruisesfares
» Forum threads: 38,789
» Forum posts: 175,862

Full Statistics

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

Latest Threads
[BeautifulSoup] A few que...
Forum: Web Scraping & Web Development
Last Post: Winfried
27 minutes ago
» Replies: 0
» Views: 9
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
2 hours ago
» Replies: 3
» Views: 223
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Today, 05:03 AM
» Replies: 1
» Views: 102
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Yesterday, 06:47 PM
» Replies: 2
» Views: 182
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Yesterday, 04:13 PM
» Replies: 5
» Views: 3,098
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Nov-17-2025, 11:47 AM
» Replies: 4
» Views: 210
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Nov-17-2025, 08:44 AM
» Replies: 2
» Views: 153
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 207
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 375
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 89

 
  Tuple comprehension to for loop help
Posted by: jsuh21 - Aug-31-2020, 05:55 AM - Forum: General Coding Help - Replies (3)

Hello, I am currently taking a python course online. My class recently went over making a password checker api. If you take a look below, there is def..... More

Print this item

  The pass statement...
Posted by: voidptr - Aug-31-2020, 04:22 AM - Forum: General Coding Help - Replies (3)

Is "pass" really a NOP ?
Is it compile into a real nop operation ?
or it is only interpreted as place holder ?
and that statement is jump over ..... More

Print this item

  It looks like an error but maybe not
Posted by: tester_V - Aug-31-2020, 03:40 AM - Forum: General Coding Help - Replies (4)

Hi,
I'm splitting lines and having this message:
['<SupplementalData', 'Name', 'Placeholder', 'Value', 'Placeholder', '/>\n']

What does it mean?..... More

Print this item

  Sending Out Email via Python
Posted by: JoeDainton123 - Aug-30-2020, 10:23 PM - Forum: General Coding Help - Replies (1)

Hello all

I was hoping someone could help me with the following issue.

The code below attempts to send an email from my company's email account...... More

Print this item

  reranking porblem
Posted by: ghena - Aug-30-2020, 08:11 PM - Forum: Data Science - Replies (1)

Hi,
I am working on a re-ranking problem, I have a big list of items, each item has two scores (x,y), I want to rank N of the items at ..... More

Print this item

  help
Posted by: manadan - Aug-30-2020, 07:46 PM - Forum: General Coding Help - Replies (1)

hi, I am trying to write code to extract emails from list
the list is as following
last name, first name<xx@x.com>; last name, first name<xx@x.com>..... More

Print this item

  Installing nltk dependency
Posted by: Eshwar - Aug-30-2020, 06:10 PM - Forum: General Coding Help - No Replies

I have a python package for which nltk is a dependent package i.e. part of install_requires. My package has a dependency on wordnet corpus downloaded ..... More

Print this item

  Python slang video
Posted by: Piechjo - Aug-30-2020, 05:50 PM - Forum: Bar - No Replies

Hi guys,
Just for laughs, this could be the first synth metal video about programming in Python
https://www.youtube.com/watch?v=nZt8K9h-2zo

Print this item

  What is the better way of avoiding duplicate records after aggregation in pandas ?
Posted by: jagasrik - Aug-30-2020, 05:26 PM - Forum: General Coding Help - No Replies

I want to know the better way of selecting the top revenue generating groups.

This is the ..... More

Print this item

  make a costume subploting from separate codes
Posted by: avihu - Aug-30-2020, 05:01 PM - Forum: General Coding Help - No Replies

I have 4 codes, each one give me a plot. I want to make costume 1 fig of this 4 plots. I try with subplots but it's not ordinary variables so I don't ..... More

Print this item

  Classes in general description
Posted by: Python_User - Aug-30-2020, 03:24 PM - Forum: General Coding Help - Replies (2)

Hi all,

I am a bit learning coding in python and trying to deep understand the classes used in programming languages. I found a (real-world) descri..... More

Print this item

  Eliminate entering QR - Whatsapp web automated by selenium
Posted by: akanowhere - Aug-30-2020, 02:35 PM - Forum: General Coding Help - Replies (1)

Hi:

I put this code to active without QR code...but it doesnt function.
I open de whatsweb, scan the QR and closed all. After I active the code bello..... More

Print this item

  tkinter
Posted by: kiko - Aug-30-2020, 02:29 PM - Forum: GUI - Replies (3)

Hello! I am new to tkinter and i am trying to make a calculator on my own. I made buttons for every number and action but i want to know how to make t..... More

Print this item

  Print variable values from a list of variables
Posted by: xnightwingx - Aug-30-2020, 02:22 PM - Forum: General Coding Help - Replies (3)

Sorry, I'm new to python and coding in general. I been searching for some time and haven't found a way to do this.

This is the code so far:
[pyth..... More

Print this item

  helping PyInstaller To Find files
Posted by: Harshil - Aug-30-2020, 10:16 AM - Forum: General Coding Help - No Replies

Hey! I Have Problem I Am Using Pyinstaller To Make Exe But There Is Problem That I Have Some Ui files(because i am using pyqt5)
and i want to impleme..... More

Print this item

  accessing value array object
Posted by: ortollj - Aug-30-2020, 08:28 AM - Forum: General Coding Help - Replies (1)

Hi
how do I get the value in this kind of object called xc :
array([x |--> 0.5798895118966687], dtype=object)
I would like to copy 0.57988951189666..... More

Print this item

  scapy
Posted by: trazom - Aug-30-2020, 08:13 AM - Forum: Networking - Replies (1)

hi,
i begin in scapy and i don't understand :

[quote]# Dictionnaire des types de sous paquet
_tlv_cls = { 0x0001: "STUN_Attribut1",
0x0..... More

Print this item

  Problem with If else statement
Posted by: Milfredo - Aug-30-2020, 06:40 AM - Forum: General Coding Help - Replies (5)

I am building an application. And The following code works fine when Button first clicked. But next time button clicked, I get no change. I don't get ..... More

Print this item

  Python institute associate sample exam question
Posted by: CrusaderT - Aug-30-2020, 05:57 AM - Forum: General Coding Help - Replies (2)

Can someone please explain the syntax and the logic of the below code? Especially the first line.

How many stars (*) will the following snippet sen..... More

Print this item

  Coursera python for everybody 5.2 assignment
Posted by: SteppentigerV2 - Aug-30-2020, 05:10 AM - Forum: Homework - Replies (11)

I'm stuck with this. This is the requirement 5.2 Write a program that repeatedly prompts a user for integer numbers until the user enters 'done'. Once..... More

Print this item

  Need help
Posted by: Chico_Bean008 - Aug-30-2020, 04:05 AM - Forum: General Coding Help - Replies (6)

# I am not getting a good output through this what could i be doing wrong
# also i'm fairly new to this and don't understand why the indents and tags..... More

Print this item

  Adafruit LIS3DH coding error
Posted by: FitDad73 - Aug-30-2020, 01:03 AM - Forum: General Coding Help - Replies (1)

Hi,
I am very new to coding and am working on a lightsaber for my son using an Adafruit Prop Maker Featherwing board. I've wired everything up and am..... More

Print this item

  Getting Shell to take prompt string plus int value and carriage return
Posted by: bayouprophet - Aug-29-2020, 04:25 PM - Forum: General Coding Help - Replies (1)

I am using the following to validate credit cards. I want my script to access the shell inputting a string, plus the card number and carriage return...... More

Print this item

  I give 5€ per year to Wikipedia
Posted by: Gribouillis - Aug-29-2020, 01:43 PM - Forum: Bar - Replies (17)

Many years ago I started giving them 2€ a year because they used to say that it would be enough for them to survive. Last year they asked for more and..... More

Print this item

  Shared reference of variables...
Posted by: Denial - Aug-29-2020, 01:37 PM - Forum: General Coding Help - Replies (1)

What I understand is Python uses shared reference for variables.

I verified by assigning two variables with value of 10 (int). They both had the sa..... More

Print this item

  Better Understanding Of Object Orientation In Python
Posted by: JoeDainton123 - Aug-29-2020, 12:04 PM - Forum: General Coding Help - Replies (3)

Hello all

As part of my journey to learn python I have slowly started getting to grips with Object Orientation.

I have 3 x questions which I wa..... More

Print this item

  Abstract classes
Posted by: SephMon - Aug-29-2020, 09:53 AM - Forum: General Coding Help - Replies (8)

Can you make classes abstract in python?

Print this item

  Put Serial data to list
Posted by: PA3040 - Aug-29-2020, 08:09 AM - Forum: General Coding Help - Replies (5)

The value send from arduino is 10x12
the data coming to the python slell is b'10x12\r\n'
Dear I need to decode the carriage return from the data com..... More

Print this item

  Unable to bit shift and logical OR bytes and ints?
Posted by: MysticLord - Aug-29-2020, 08:02 AM - Forum: General Coding Help - Replies (7)

Python 3.8.2
Windows 10
Powershell

I'm trying to grab a set of 32 bit little-endian pointers from the headers in a set of 256 files, and print th..... More

Print this item

  How to map dataframe based on two columns
Posted by: Mekala - Aug-29-2020, 07:36 AM - Forum: General Coding Help - No Replies

Hi,
I have two dataframes,

df1:

Name	Pop	RANK
Indian	333	1
USA	    42	56
Taiwan	688	3
Hsinchu	34	54
Indian	333	28
Taiwan	688	23
d..... More

Print this item

  python-forum.io compared to reddit/Stackoverflow
Posted by: SpongeB0B - Aug-29-2020, 07:00 AM - Forum: Board - Replies (4)

Hi everyone,

Recently I was stuck on a problem https://python-forum.io/Thread-Flask-Dis...the-static

After a while I found a..... More

Print this item

  Accessing details of chunks in HDF5 file
Posted by: Robotguy - Aug-29-2020, 06:51 AM - Forum: Data Science - No Replies

Hi Everyone,

I found following to work with Jupyter notebook to access details of a chunked file I create. Does anyone know how to implement this i..... More

Print this item

  Session crashed after using all available RAM
Posted by: Bhavika - Aug-29-2020, 06:37 AM - Forum: General Coding Help - No Replies

I am a newbie to regular expressions. In google colaboratory, while doing an assignment on bag of words based on twitter dataset, I gave my code like ..... More

Print this item

  Spacing/Formatting
Posted by: Hendrixson29 - Aug-29-2020, 05:30 AM - Forum: Homework - Replies (2)

Hi!

I'm having some problems with spacing/formatting. I'm trying to get the pizza, state_tax, and pizza + state_tax outputs to start at directly un..... More

Print this item

  syntax highlighting
Posted by: MaartenRo - Aug-29-2020, 04:41 AM - Forum: General Coding Help - Replies (2)

Hi,

In my Python shell the numvers in the second line are red highlighted. Why are the numbers in the second line highlighted in red? Does this happe..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [BeautifulSoup] A few que... 27 minutes ago Winfried Winfried Web Scraping ...
  Graph Interpolate Difficu... 2 hours ago Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... Today, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... Yesterday, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python Yesterday, 16:13 dutch mamta25 News and Disc...
  [SOLVED] Access keys and ... 11-17, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... 11-17, 08:44 Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  sorting a lisr of file pa... 11-15, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
Most views
  The best Prog... 579152
  Tutorial Requ... 511587
  Web Scraping ... 442099
  Newbie with P... 386188
  New Users Int... 378814
Most reputation
buran 581
snippsat 511
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+ 12108
buran 8196
snippsat 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
cruisesfares Today
SavingSquirrel199835 Yesterday
Astrobert Yesterday
DataScientist071 Yesterday
aminrony1999 11-17

User Panel Messages

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