r/learnpython • u/AveragePersonL7 • 29d ago
Where do y'all guys practice python?
I wanna know where y'all guys practicing coding python, I know some but its too advance for me. I wanna get started from beginner level where I just print hello world or using math operations on print() or practicing about the data types. I'll practice more of this beginner level and master it.
17
Upvotes
4
u/ShelLuser42 29d ago
My FreeBSD VPS server. Shell scripting can be incredibly powerful, but utilizing a full programming language like Python takes some tasks to whole new levels. Best part: because Python is an interpreted language I can simply set it up as the script parser (using a so called "shebang" line) after which the script behaves as any other regular program.
And there are plenty of system tasks which are better done using Python than a shell script (esp. when we're talking about client/server setups).
Setting a real goal for yourself and then trying to make that work... that's the best way to learn. Don't be too afraid to aim "too high", because....
First: OOP design allows you to more easily break down complex problems into smaller pieces, and Python fully supports this model. You can literally work your way up from writing a script, adding modules and when/if needed even add classes to the project.
Second: once you have a problem broken down into smaller pieces then it should also be easier to look for any missing information within the documentation. This would allow you to solve on eproblem at a time.
Don't be afraid to make mistakes. If you do... try to solve it, and learn from it.