r/learnpython • • 29d ago

Learning Python

Hi! I wanted to know if anyone knows a website or an app that lets me practice writing Python scripts like I would write a script and test run it. I’m only beginning Python but I just want like a site to like let me simple coding during free time like free periods and such. Thanks.

22 Upvotes

34 comments sorted by

8

u/IAteTonysLoMein 29d ago

Just do it all locally on your own computer

7

u/ItzjammyZz 29d ago

We3school is a good one.

6

u/Otherwise-Ask7900 29d ago

Automate the boring stuff is an amazing book.

4

u/peakpirate007 29d ago

You can learn Python and practice questions and do projects here give it a try: https://www.runtime.school/python/learn/python-execution

4

u/desrtfx but other languages pro 29d ago

Simple for starters: https://codingbat.com/python

Larger: https://exercism.org

Proper course: MOOC Python Programming 2026 from the University of Helsinki

3

u/Hashi856 29d ago

Are you doing this on a school computer?

2

u/Discordbothost 29d ago

if the school computer wont let you install anything you dont need python locally at all. python.org/shell and onlinegdb both run in the browser, and pythonanywhere has a free console if you want your scripts to stick around between sessions. for practice problems exercism's python track and codewars give small tasks with instant test feedback, which is nice for free periods

2

u/Amazing-Structure683 29d ago

If on iPhone (maybe Android has it too, not sure) the mobile app Pythonista lets you write and run scripts on mobile. Not super robust but a little testing environment while learning has been cool, I think.

1

u/hariomlohardev 29d ago

if you want an app then try mimo

1

u/TapEarlyTapOften 29d ago

I would recommend you start learning how to use a software testing framework to go with whatever you're learning now.

1

u/DIYtDCS 29d ago

This is what you're looking for...
https://pythontutor.com/visualize.html#

1

u/Dependent_Month_1415 28d ago

Pychallenge is very good for this.

1

u/TimBrownDev 27d ago

After 10+ years tutoring I'm building a roadmap of the best practice problems I've seen to help teach python from zero to mastery. They are all interactive practice problems.

timbrown.dev/roadmap

1

u/Visible-Metal-8288 26d ago

I'm learning Python and exploring its applications in AI/ML. I understand that libraries make implementation easier, but I think understanding basic programming logic is equally important. Which Python concepts should beginners become comfortable with before learning libraries like NumPy and Pandas?

1

u/baraa_sher 23d ago

I think this is the best option because it let's learn by examples: https://github.com/blshaer/python-by-example

1

u/capsd-11 29d ago

termux

0

u/skfin96 28d ago

Google.com. If you can't make a simple web search, python is not going to work out for you. There are plenty of good free resources available online, if you just bother to look.

1

u/Sleep_Cicada 28d ago

Sorry, just not sure which ones are good to use for my skill level so I wanted some suggestions

-3

u/checock 29d ago

exercism . org

3

u/[deleted] 28d ago

[removed] — view removed comment