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,964
» Latest member: Edzed4431
» Forum threads: 38,730
» Forum posts: 175,546

Full Statistics

Online Users
There are currently 33 online users.
» 1 Member(s) | 29 Guest(s)
Bing, Google, AOL, snippsat

Latest Threads
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
45 minutes ago
» Replies: 3
» Views: 60
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
9 hours ago
» Replies: 1
» Views: 466
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:49 PM
» Replies: 4
» Views: 2,004
My First App
Forum: Code Review
Last Post: carlbidwell
Yesterday, 10:53 AM
» Replies: 8
» Views: 8,565
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 03:54 AM
» Replies: 3
» Views: 467
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 925
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 955
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,218
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Sep-26-2025, 09:50 AM
» Replies: 1
» Views: 1,834
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Sep-26-2025, 03:53 AM
» Replies: 1
» Views: 2,873

 
  opening python from the command line takes a long time to load?
Posted by: abdulkaderanwar - Jun-20-2020, 11:24 AM - Forum: News and Discussions - Replies (4)

Hi there,

When i try to open python from the command line, taking long time to load the IDE. Even if i run the with python <prog.py> taking time to..... More

Print this item

  Problem with a 'break' statement.
Posted by: christopher3786 - Jun-20-2020, 07:13 AM - Forum: General Coding Help - Replies (3)

I have indented and have tried moving the 'break' statement around, but I keep receiving this error. What am I doing wrong? Thank you!

[python]pr..... More

Print this item

  403 Forbidden Error
Posted by: Evil_Patrick - Jun-20-2020, 06:19 AM - Forum: Web Scraping & Web Development - Replies (1)

How to avoid this error while crawling any website?

[python]

from bs4 import BeautifulSoup
import requests

source = requests.get("https://ww..... More

Print this item

  sys.excepthook = handle_exception not invoket or trigeret
Posted by: umen - Jun-20-2020, 06:04 AM - Forum: General Coding Help - Replies (3)

i have this simple flask app :

[python] def handle_exception(exc_type, exc_value, exc_traceback):
print("Hello")

dd = "test"..... More

Print this item

  Help needed, stuck at the final output
Posted by: extricate - Jun-20-2020, 05:22 AM - Forum: Homework - No Replies

Hi,

I've created this code, whereby, if i type "quit", it will return "Goodbye" but in this case, it returns twice. Any hint on how do I make it to..... More

Print this item

  Where ask for recommandation (books)
Posted by: SpongeB0B - Jun-20-2020, 05:12 AM - Forum: Board - Replies (2)

Hi everyone,

I would like to ask the community for recommendations for book [and online tutorial]

But I don't know where to post it :/

I saw..... More

Print this item

  Help with a random number generator
Posted by: dpcalder - Jun-20-2020, 03:32 AM - Forum: General Coding Help - Replies (2)

I'm interested in designing a script for a random number generator like this:

https://www.programiz.com/python-program...dom-number
..... More

Print this item

  Multiprocessing - low CPU usage when more than 2 cores
Posted by: medatib531 - Jun-20-2020, 03:25 AM - Forum: General Coding Help - No Replies

Hello,
I'm trying to understand how multiprocessing-multithreading works. Suppose I have the following code (which is basically the idea behind minin..... More

Print this item

  python on a ternary computer
Posted by: Skaperen - Jun-20-2020, 02:21 AM - Forum: News and Discussions - No Replies

if python were ported to a ternary computer, would bool still be limited to just 2 values? would any data type represent the smallest memory u..... More

Print this item

  superclass and super()
Posted by: grkiran2011 - Jun-19-2020, 11:55 PM - Forum: General Coding Help - Replies (1)

Hi Viewer,

I have two questions related to inheritance:

1. Let's say I have a class A and another class B which is inheriting A. So B is the su..... More

Print this item

  targeting the CLI
Posted by: yapp - Jun-19-2020, 11:51 PM - Forum: General Coding Help - Replies (1)

So I'm newer to python and could not find this answer anywhere (or the answer was too technical for me to recognize it as an answer). I want to know i..... More

Print this item

  Trying to create a conditional with a username
Posted by: Realen - Jun-19-2020, 11:49 PM - Forum: General Coding Help - Replies (2)

hi guys ~

i need help trying to code a name question but im trying to repeat the "enter your name" if the user just press enter without type nothing
..... More

Print this item

  arg and keyword arg conflict: what to raise
Posted by: Skaperen - Jun-19-2020, 11:03 PM - Forum: News and Discussions - Replies (5)

i have a function which has keyword arguments for everything. two of them also could be given as regular positional arguments. it tests for somethin..... More

Print this item

  New to the language. What am I doing incorrectly here?
Posted by: christopher3786 - Jun-19-2020, 10:54 PM - Forum: General Coding Help - Replies (3)

1) I ask the user to input a number as a string.
2) I convert the string to an integer.
3) I perform a comparison to see if the user's number is a m..... More

Print this item

  Python Module to display Dictionairies for debugging
Posted by: personalt - Jun-19-2020, 07:30 PM - Forum: General Coding Help - Replies (3)

I have a python application that has three threads that maintain three dictionaries with lists of work that are being processed. As a way to debug I a..... More

Print this item

  print in for
Posted by: Y0sh1 - Jun-19-2020, 04:02 PM - Forum: General Coding Help - Replies (1)

Hello,
i would like to add every time i print in the same list
[python]
def F(x0,y0,D):
for coord in D:
dx, dy = (coord['X']+x0,coor..... More

Print this item

  while loop problem
Posted by: fid - Jun-19-2020, 03:55 PM - Forum: Data Science - Replies (2)

Hi Guys,

I am having a problem with a while loop for a tax calculator. You don't have to understand taxes to understand the problem.

Here is the..... More

Print this item

  Displaying selected information from XML file in the Spyder console(weather forecast)
Posted by: JohnN_pl - Jun-19-2020, 03:03 PM - Forum: Homework - Replies (6)

On the site Yr (www.yr.no) you can download the weather forecast in XML format. For example, we can download the hourly forecast using the address in ..... More

Print this item

  Need help with website making
Posted by: MianDoesCoding - Jun-19-2020, 01:29 PM - Forum: Web Scraping & Web Development - Replies (5)

how can i make a website? i am so confused on how to even start
i'v read websited but people are more helpfull :)

Print this item

  Error: variable referenced before assignment
Posted by: DotGuy - Jun-19-2020, 01:07 PM - Forum: Game Development - Replies (2)

I have been recently following a tutorial about how to make a flappy bird AI.
[align=left]When i finished part 4 of the tutorial(..... More

Print this item

  Python: for and if loop
Posted by: salwa17 - Jun-19-2020, 12:40 PM - Forum: General Coding Help - Replies (4)

I made this function to code some values according to func_code value but it does not work as aaspected:

[python]
def reg_val_list_binary2(s):
..... More

Print this item

  Can someone help me with collisions ?
Posted by: CUKEMAN - Jun-19-2020, 12:36 PM - Forum: Game Development - Replies (2)

So i started with pygame lately and i have problem with collisions.
I wanna created pong and i don´t really know what i do wrong. How i can do the co..... More

Print this item

  [split] help me make this code better please (basic)
Posted by: Rustam - Jun-19-2020, 11:52 AM - Forum: Homework - Replies (2)

I'm just study Python and fall in very stupid situation
This code every time have different results, looks like if range() returns random result in r..... More

Print this item

  Mad-lib script (beginner)
Posted by: eddiemyson - Jun-19-2020, 11:47 AM - Forum: Code sharing - Replies (1)

Hello everyone!

This is my first script I've wrote, it only took me like 20 minutes. It basically inputs your response and then it gives a madlib ..... More

Print this item

  def functions creation
Posted by: samh625 - Jun-19-2020, 10:59 AM - Forum: Homework - Replies (16)

Hey all, so my course given me another tricky one, i think i get the idea of it, just trying to finding the right way of writing it. My tutor has said..... More

Print this item

  To find the index of the first occurrence of the key in the provided list
Posted by: Angry_bird89 - Jun-19-2020, 10:05 AM - Forum: Homework - Replies (4)

Hi All,

Please could someone help with the error I am getting with my code

Description
The index of the first occurrence of the key in the prov..... More

Print this item

  Python I/O: input a graph
Posted by: anata2047 - Jun-19-2020, 09:10 AM - Forum: General Coding Help - Replies (4)

I have been searching Python courses and libraries like numpy, pandas etc and didn't find the functionality required for my project.
What libraries/..... More

Print this item

  Returning None value while parsing
Posted by: Calli - Jun-19-2020, 07:54 AM - Forum: Web Scraping & Web Development - Replies (2)

[quote]This is the Html element which is present in the website that i want to parse
"""
<span data-bind="text: title">BTC Markets</span>

<td cla..... More

Print this item

  Change each character of list into an different characters
Posted by: Angry_bird89 - Jun-19-2020, 07:19 AM - Forum: Homework - Replies (1)

Hi All,

Please could someone help with the error I am getting with my code

Description
Change each character of an list into different characte..... More

Print this item

  How can I stop the script when I run the game on my own computer?
Posted by: StatTark - Jun-19-2020, 07:12 AM - Forum: General Coding Help - Replies (2)

hi friends i am trying to make a steam hour bot. I'm running this bot on my ubuntu system like this on "screen -S idle python3 xxx.py" . What I want t..... More

Print this item

  How does numpy do this?
Posted by: rudihammad - Jun-19-2020, 06:08 AM - Forum: General Coding Help - Replies (5)

Hello,
let me explain what I mean with this example

[python]
array = np.array([[2, 0], [5, 9]])
print(array) # Result: [[2, 0], [5, ..... More

Print this item

  TimeOutError when trying to initiate smtplib.SMTP
Posted by: thecosmos - Jun-19-2020, 05:30 AM - Forum: General Coding Help - No Replies

So I am try to make SMTP connection to a host received by MX query of its domain. But when I do

smtplib.SMTP('aspmx.l.google.com')
or..... More

Print this item

  "return" value indentation
Posted by: extricate - Jun-19-2020, 05:28 AM - Forum: Homework - Replies (3)

Hi,

Regarding the code below

[python]phone_letters = ["' '","","ABC","DEF","GHI","JKL","MNO","PQRS","TUV","WXYZ"]
def let_to_num():
letter..... More

Print this item

  Creating Data Set for Changing Oscillation Motion
Posted by: jcraw77 - Jun-19-2020, 12:25 AM - Forum: General Coding Help - No Replies

Hello,
I need to create a set of data points that are essentially x and y values for a graph of position vs time. the x values range from 0 to 40 in ..... More

Print this item

  Creating Data Set for Changing Oscillation Motion
Posted by: jcraw77 - Jun-19-2020, 12:13 AM - Forum: Homework - Replies (1)

Hello,
I need to create a set of data points that are essentially x and y values for a graph of position vs time. the x values range from 0 to 40 in ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Comparing 2 100GB Drives/... 45 minutes ago tester_V snippsat General Codin...
  My goal to be hired worki... 9 hours ago GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... Yesterday, 18:49 arbiel Gribouillis General Codin...
  My First App Yesterday, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... Yesterday, 03:54 llarkin6 Pedroski55 General Codin...
  [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...
  Using Python to SSH and R... 09-26, 03:53 justaguy SprunkiRetake Networking
  extracting data from a us... 09-25, 13:49 Perry DeaD_EyE General Codin...
Most views
  The best Prog... 577194
  Tutorial Requ... 500192
  Web Scraping ... 440895
  Newbie with P... 384907
  New Users Int... 369183
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+ 12089
buran 8176
snippsat 7368
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Edzed4431 Yesterday
chaoh1911 Yesterday
KaydenJonah098 Yesterday
carlbidwell Yesterday
llarkin6 09-26

User Panel Messages

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