r/learnpython • u/Sleep_Cicada • 18d 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
3
u/acfot 17d 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.
8
u/IAteTonysLoMein 18d ago
Just do it all locally on your own computer
7
u/ItzjammyZz 18d ago
We3school is a good one.
6
u/Otherwise-Ask7900 18d ago
Automate the boring stuff is an amazing book.
4
u/peakpirate007 18d 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 18d 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 18d ago
Are you doing this on a school computer?
2
u/BeyondComfort 18d ago
Try this
https://coddy.tech
2
u/Discordbothost 18d 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 18d 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 18d ago
if you want an app then try mimo
1
u/TapEarlyTapOften 18d 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 18d ago
This is what you're looking for...
https://pythontutor.com/visualize.html#
1
u/Mabuso-P-Katlego 18d ago
Pydroid 3
1
u/pachura3 18d ago
https://www.w3schools.com/python/trypython.asp?filename=demo_default
1
u/OkCaterpillar1058 18d ago
You can use https://pychallenge.com/ for exercises
1
u/Dependent_Month_1415 18d ago
Pychallenge is very good for this.
1
u/TimBrownDev 17d 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 15d 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 12d 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 18d ago
termux
0
u/skfin96 18d 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.
-3
u/checock 18d ago
exercism . org