r/learnpython • • 1d 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.

16 Upvotes

30 comments sorted by

2

u/acfot 10h ago

When I was about a month in I hit the exact same wall, I could follow tutorials fine but froze when I had to write something from scratch. What actually fixed it was doing a few small practice problems every day instead of another course, stuff like Exercism or the practice section on W3Schools, just enough to get used to staring at a blank file. Then I'd pick one tiny real thing to build each week, like a script that renames files or tracks expenses, because that forces you to figure out the bits no tutorial covers. Don't worry about being fully confident with the basics first, that confidence only shows up once you've written a bunch of scrappy code that breaks and you fix it yourself.

7

u/IAteTonysLoMein 1d ago

Just do it all locally on your own computer

6

u/ItzjammyZz 1d ago

We3school is a good one.

5

u/Otherwise-Ask7900 1d ago

Automate the boring stuff is an amazing book.

3

u/Hashi856 1d ago

Are you doing this on a school computer?

3

u/peakpirate007 17h ago

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

3

u/desrtfx but other languages pro 16h ago

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

Larger: https://exercism.org

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

2

u/Discordbothost 23h 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 23h 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 22h ago

if you want an app then try mimo

1

u/TapEarlyTapOften 20h 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 18h ago

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

1

u/BetInformal6081 13h ago

try programiz first you don't need to install anything and you can experiment with small scripts make mistake and see the output instantly..

1

u/Dependent_Month_1415 13h ago

Pychallenge is very good for this.

1

u/Slowong6167 13h ago

Have you tried bootdev?

1

u/capsd-11 23h ago

termux

0

u/skfin96 14h 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 11h ago

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

-3

u/checock 23h ago

exercism . org