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,279
» Latest member: ndx101
» Forum threads: 38,790
» Forum posts: 175,868

Full Statistics

Online Users
There are currently 54 online users.
» 0 Member(s) | 45 Guest(s)
Applebot, Google, Bing, Facebook Dev, DuckDuckGo

Latest Threads
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
6 hours ago
» Replies: 4
» Views: 1,450
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Yesterday, 02:10 PM
» Replies: 2
» Views: 98
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Yesterday, 06:48 AM
» Replies: 0
» Views: 34
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Yesterday, 04:59 AM
» Replies: 11
» Views: 6,007
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Yesterday, 04:46 AM
» Replies: 2
» Views: 4,284
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 305
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 151
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 212
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Nov-18-2025, 04:13 PM
» Replies: 5
» Views: 3,116
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Nov-17-2025, 11:47 AM
» Replies: 4
» Views: 259

 
  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

  Not understanding dictionaries
Posted by: gr3yali3n - Jun-18-2020, 08:22 PM - Forum: General Coding Help - Replies (4)

Ok, I am reading a book automate the boring stuff, I am on the dictionaries chapter because I’m focusing on dictionaries right now maybe I should go b..... More

Print this item

  While loop in Python and C++
Posted by: smjt2000 - Jun-18-2020, 07:41 PM - Forum: General Coding Help - Replies (5)

[align=left]
I have a question related to Loops in python and C++(While)
What's the difference between executing loops as integers in both languages..... More

Print this item

  How to extract data from paragraph using Machine Learning with python?
Posted by: bccsthilina - Jun-18-2020, 07:34 PM - Forum: Data Science - Replies (2)

[b]I plan to build a machine learning based system for the final stage of my degree. To do this, analyze an essay someone has written about themselves..... More

Print this item

  Passing multiple values from template to template
Posted by: card51shor - Jun-18-2020, 06:44 PM - Forum: Homework - No Replies

What I'm trying to do now is make it so that each result from the search is returned to the user as a clickable link that will go to more details abou..... More

Print this item

  python multiprocessing import Pool, cpu_count: causes forever loop | help to remove
Posted by: Hassibayub - Jun-18-2020, 05:27 PM - Forum: General Coding Help - No Replies

The code using multiprocessing causes a forever loop.

I'm using a building an iris recognition system. this is the matching function. everything ..... More

Print this item

  Beginner Code, how to print something after a number of turns (guessing game)
Posted by: QTPi - Jun-18-2020, 04:21 PM - Forum: General Coding Help - Replies (4)

Hey guys,
I'm a beginner at coding and I'm trying to create this game where a person has to guess the word and only has 3 guesses. Now my simple prob..... More

Print this item

  Loop Excel Range
Posted by: Kristenl2784 - Jun-18-2020, 04:10 PM - Forum: General Coding Help - Replies (2)

Hello,

This script currently loops through all the excel files in my input dir. How would I make it so I could pick excel files 5-10, or 15-20 to ..... More

Print this item

  Github help
Posted by: Evil_Patrick - Jun-18-2020, 03:49 PM - Forum: General Coding Help - Replies (1)

So Let's imagine I want to upload my project to Github
Does I have to included pre-installed modules with python in the requirements file?

Print this item

  unicode question
Posted by: DPaul - Jun-18-2020, 02:48 PM - Forum: General Coding Help - Replies (5)

Hi,I am looking amongst the zillions of unicode chars and I can print them like this.
(I understand that in python 3 the leading "u" is not necessary..... More

Print this item

  Bode plot from time series experiment data
Posted by: discus - Jun-18-2020, 12:34 PM - Forum: General Coding Help - Replies (4)

Hello everyone!^^ I am new to python coding.

By the way, please give me a way to draw a bode plot simply without calculating the gain and phase by..... More

Print this item

  filtering arrays
Posted by: dramauh - Jun-18-2020, 12:16 PM - Forum: Homework - Replies (4)

Hi everyone,

This is my first post in this forum. This question is not related with homework but it is really basic question. So I hope this is th..... More

Print this item

  ImportError: cannot import name 'Request' from 'request'
Posted by: abhishek81py - Jun-18-2020, 07:48 AM - Forum: General Coding Help - Replies (1)

When i install "http module" using this command "pip3 install http" an error was occurred
[error]
ERROR: Command errored out with exit sta..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My goal to be hired worki... 6 hours ago GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... Yesterday, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... Yesterday, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... Yesterday, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... Yesterday, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python 11-18, 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
Most views
  The best Prog... 579193
  Tutorial Requ... 511933
  Web Scraping ... 442143
  Newbie with P... 386225
  New Users Int... 379161
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+ 12109
buran 8196
snippsat 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
ndx101 Today
OtiliaBecker Today
NAGASOWMYAGUNDU Yesterday
shipa1autotransport Yesterday
eastnoob 11-19

User Panel Messages

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