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

Full Statistics

Online Users
There are currently 39 online users.
» 0 Member(s) | 35 Guest(s)
Applebot, Bing, Google

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

 
  installing python in windows 10
Posted by: martynarthur2102 - Aug-22-2020, 01:49 PM - Forum: General Coding Help - Replies (1)

i have set my app selector to any app but python will simply not install in windows 10

Print this item

  Simple plotting from txt file
Posted by: Laplace12 - Aug-22-2020, 01:34 PM - Forum: General Coding Help - Replies (2)

I have a very simple code to plot. The data file consists of seven columns with values (not integers), and I wish to plot their division. This is the ..... More

Print this item

  looking for partner(s) to make an AI chatbot
Posted by: ronblue77 - Aug-22-2020, 12:20 PM - Forum: News and Discussions - Replies (1)

hello everyone...

i'm trying to learn by myself machine learning and neural networks and tensorflow from the net through YouTube tutorials...

i ..... More

Print this item

  printing integers on pygame.draw.rect
Posted by: Shyckh - Aug-22-2020, 08:41 AM - Forum: Game Development - Replies (1)

hi i am new to python prog arming. i want to boost my skills by making simple games using pygame and other tools.
i want to print integers on pygame...... More

Print this item

  live updated json file
Posted by: Nyanpasu - Aug-22-2020, 07:49 AM - Forum: General Coding Help - Replies (2)

Dear Python forum!

I've read quite a bit on how to extract data into a json file but the majority of the documentations found online will only save s..... More

Print this item

  variable not defined
Posted by: Milfredo - Aug-22-2020, 07:21 AM - Forum: GUI - Replies (4)

My first post. Hope it done right.
Getting an error saying my variable not defined. I have tried several things and have watched at least 5 videos. S..... More

Print this item

  Getting Extension
Posted by: Harshil - Aug-22-2020, 06:35 AM - Forum: Web Scraping & Web Development - Replies (6)

Hey! Friends.
Problem: How to get extension of the file from url or else anything using request or any module?
Another Problem: Can I Use To Split F..... More

Print this item

  Tensei Slime (That Time I Got Reincarnated as a Slime) Text adventure Game.
Posted by: 1Slim3yBoi - Aug-22-2020, 05:43 AM - Forum: Code Review - No Replies

Looking for people that don't mind reviewing my codebase for my text adventure game. It's based on Tensei Shitara Slime Datta Ken or That Time I Got R..... More

Print this item

  mx19.2 python & tkinter
Posted by: gonzo01 - Aug-22-2020, 04:39 AM - Forum: GUI - Replies (6)

i have python installed on mx 19.2

from xterm

bill@mx:~
$ python -V
Python 2.7.16
bill@mx:~
$ python3 -V
Python 3.7.3
bill@mx:~

bill@mx..... More

Print this item

  Class function does not create command button
Posted by: Heyjoe - Aug-22-2020, 02:23 AM - Forum: GUI - Replies (2)

Hello Python Users:

The following code displays a command button "Click here to start". This command button is supposed to run the sa function. T..... More

Print this item

  Sharing X Axis in Sub plots
Posted by: JoeDainton123 - Aug-21-2020, 11:04 PM - Forum: General Coding Help - Replies (1)

Hello community

After a LOT of fighting and watching youtube tutorials i have been able to achieve my goal of creating a figure window, with a uniq..... More

Print this item

  Is this right code for 3 digit pin ?
Posted by: fatjuicypython - Aug-21-2020, 11:02 PM - Forum: General Coding Help - Replies (1)

Is this the right code for a 3 digit pin ?

for pin in range(1000): if test(f'{pin:03d}'): print(f'{pin:03d}')

Print this item

  How and where to store a data for path tree?
Posted by: zayacEBN - Aug-21-2020, 08:34 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello.
I am developing a small scrapper that allows to save images from different urls and save it on many different folders. I have the skeleton fo..... More

Print this item

  pip unistall in alternate roots
Posted by: confminn - Aug-21-2020, 08:03 PM - Forum: General Coding Help - No Replies

I have installed a package with dependencies in an alternate tree using pip install --root. That command created usr/local/lib/python3.6/dist-packages..... More

Print this item

  OOP Label In Tkinter
Posted by: Harshil - Aug-21-2020, 06:07 PM - Forum: General Coding Help - Replies (2)

Hey! I AM Trying Use Label In Tkinter In OOP Way But I AM Trying To Pack Label I Don't Know How to?
Here Is Code:
[python]from tkinter import *
fro..... More

Print this item

  Difference Between Figure Axis and Sub Plot Axis in MatplotLib
Posted by: JoeDainton123 - Aug-21-2020, 05:35 PM - Forum: General Coding Help - Replies (2)

Hello all

I was wondering if someone could help with understanding sub plots.

The term axis is often used with figure windows and subplots and I..... More

Print this item

  SHA256-Checker
Posted by: gingshow - Aug-21-2020, 01:46 PM - Forum: Code sharing - Replies (2)

I made a SHA256 checker.

How to use SHA256-Checker? Step 1: Download the file you want to check and sha256sum.txt from the Internet then put them ins..... More

Print this item

  I need advise with developing a brute forcing script
Posted by: fatjuicypython - Aug-21-2020, 01:16 PM - Forum: General Coding Help - Replies (11)

I need some advise on developing a script to brute force a 4 digit pin.

I know the pin has to be from 0000 to 9999

However, on the game website ..... More

Print this item

  PyAudio Buffer Data Calculation
Posted by: MclarenF1 - Aug-21-2020, 10:55 AM - Forum: General Coding Help - No Replies

Hi,

I have a question (Sorry I'm not very professional in python).
I'm using PyAudio to capture microphone sound with python (for its Peak Value)...... More

Print this item

  open("python.pdf","wb") - why "wb" instead of "a"?
Posted by: Man_from_India - Aug-21-2020, 10:32 AM - Forum: General Coding Help - Replies (1)

I came across the following code in a website.

[python]
import requests

file_url = "http://codex.cs.yale.edu/avi/db-book/db4/slide-dir/ch1-2.p..... More

Print this item

  Uppercase problem
Posted by: MarcJuegos_YT - Aug-21-2020, 09:58 AM - Forum: Homework - Replies (4)

Hi,
I've been learning python for a week and today i started doing a translator in an invented language. The problem is that if i write an upper lett..... More

Print this item

  Open and read a tab delimited file from html using python cgi
Posted by: luffy - Aug-21-2020, 09:56 AM - Forum: Web Scraping & Web Development - Replies (2)

[size=medium][size=small][font=Times New Roman, Times, serif]I am trying build a webpage which takes a large tab delimited .txt/.txt.gz file as user i..... More

Print this item

  Search Results Web results Printing the number of days in a given month and year
Posted by: afefDXCTN - Aug-21-2020, 08:30 AM - Forum: General Coding Help - Replies (1)

Hi everybody!

I wrote this code to return the number of days for a given couple of months / day
my function must take into consideration leap year..... More

Print this item

  Working with text data
Posted by: APK - Aug-21-2020, 08:28 AM - Forum: Homework - Replies (4)

Hey everyone,

I am working with text data which has the following format in excel:

Interview 1
Speaker
Date
Text

Interview 2
Speaker
Dat..... More

Print this item

  def xxx() question
Posted by: DPaul - Aug-21-2020, 06:47 AM - Forum: General Coding Help - Replies (2)

Hi,

The other day i came across an app that used somthing like this:
[python]
def myDef():
myDef.msg = myDef.msg[.....]
.....

myDef...... More

Print this item

  Which is the best platform to teach kids python?
Posted by: Angelamaria - Aug-21-2020, 04:12 AM - Forum: News and Discussions - Replies (5)

Hi,

My kid is 7 years old and he is interested in coding. Now I am looking for an online coding platform to teach him coding? Can someone please su..... More

Print this item

  print() examples
Posted by: leodavinci1990 - Aug-21-2020, 03:54 AM - Forum: General Coding Help - Replies (3)

print('%10s' % ('test',))
What is the purpose or difference between the having the colon after the 'text' string as in code above ..... More

Print this item

  Question about learning Python 3.0 for finding work
Posted by: adifrank - Aug-21-2020, 01:40 AM - Forum: News and Discussions - No Replies

Hi.

I'm curious to know your thoughts on this —

I have some very basic programming experience. I'm a designer and learned to code a bit in Acti..... More

Print this item

  printing strings with format
Posted by: leodavinci1990 - Aug-21-2020, 01:17 AM - Forum: General Coding Help - Replies (1)

Case 1: If I execute the following:

print('{} {}'.format('one', 'two'))
the output in the IDLE shell will be

one two

Cas..... More

Print this item

  Help With Sub Plots
Posted by: JoeDainton123 - Aug-20-2020, 10:48 PM - Forum: General Coding Help - No Replies

Hi all

I was wondering if anyone could help with my understanding when it comes to sub plotting.

I have looked at the documentation and examples..... More


Attached Files

Thumbnail(s)
   
Print this item

  Compiler
Posted by: wallgraffiti - Aug-20-2020, 09:26 PM - Forum: General Coding Help - Replies (3)

So. Say I'm making a compiled language in Python (compiled because it makes up for the slowness of an interpreted language like Python). How would I g..... More

Print this item

  Column to rows
Posted by: kmrashish1985 - Aug-20-2020, 09:15 PM - Forum: General Coding Help - No Replies

I have a dataframe like shown below -

Col X Col 1 Col 2 Col 3 Col 4 Col 5 Col 6 Col 7 Col 8 Col 9 Col 10
AA A 1 1 1 1 1 1..... More

Print this item

  importing a list of numbers into python script
Posted by: barrypyth - Aug-20-2020, 09:02 PM - Forum: General Coding Help - Replies (8)

I have created in my PYTHON directory a file named movedata containing the following list of numbers 100, -100, 200, -200, 200 with the aim of impor..... More

Print this item

  Using Spyder Full Screen Debugger
Posted by: ErnestTBass - Aug-20-2020, 08:17 PM - Forum: General Coding Help - No Replies

I am running some python code in the Spyder debugger.

Just for fun (?) I asked it to statistically analyze my python code.

I got a lot of resp..... More

Print this item

  Small programm to change names of files
Posted by: Brotato - Aug-20-2020, 08:12 PM - Forum: Code sharing - No Replies

This is my first code. I basically tried to write a programm which is able to change the names of multiple files or numbering them.
If you have some ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Graph Interpolate Difficu... 2 hours ago Tuurbo46 deanhystad General Codin...
  [BeautifulSoup] A few que... 4 hours ago Winfried Winfried Web Scraping ...
  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... 579155
  Tutorial Requ... 511633
  Web Scraping ... 442109
  Newbie with P... 386191
  New Users Int... 378856
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
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
eastnoob Today
cruisesfares Today
SavingSquirrel199835 Yesterday
Astrobert Yesterday
DataScientist071 Yesterday

User Panel Messages

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