Learning Python
General recommendations
- Start with single files (
main.py
) and learn how to run them using the terminal or from the IDE - Get a good code editor and start using it, get familiar with the features (I recommend PyCharm)
- When you code more often, also start learning how to use git and backup your code with Github.
- Test your code using
print()
statements - Learn first the data types, loops, functions and how to create virtual environments (
python -m venv venv && source venv/bin/activate
)
Debugging with colors
Additionally, you can pip install rich
and use it to inspect code with rich.inspect
or replace the builtin print with from rich import print
to get nicer colors.
Resources
pythonprogramming.net
Sentdex is the man behind this project. He is quick and to the point, and more the engineer type of coder. He was offered a lot of bucks by google, but never wanted to work for them
TechWorld with Nana
She has impressively detailed content with very professional illustrations and covers also advanced topics such as kubernetes.
MIT OpenCourseWare - Introduction to Computer Science and Programming in Python
MIT lectures from 2016 under MIT licence.
Podcasts
Talk Python Podcast
Run by @mkennedy, he also runs his own learning platform focused on the web and you can get some free tutorials as well
Letztes Update:
March 25, 2023
Erstellt: August 7, 2022
Erstellt: August 7, 2022