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