I can't recommend Project Euler enough! It is not just a great way to learn programming, but a great way to learn or explore a new language in general. It really makes you think through things and...
Exemplary
I can't recommend Project Euler enough! It is not just a great way to learn programming, but a great way to learn or explore a new language in general. It really makes you think through things and worry about speed and efficiency and not just the brute force method. And the challenges progressively make you dive deeper into the language. When I used it to learn Python I just started brute forcing the answers and then had to become more efficient. Before long I needed to write functions. Not long after that I realized I was rewriting the same code over and over and refactored my answers to use a library I wrote with common functions.
If you're not using any other form of container/virtualisation, I'd suggest getting to know virtualenv, before this happens (Randall is obviously not that much of a Python user to have such a...
If you're not using any other form of container/virtualisation, I'd suggest getting to know virtualenv, before this happens (Randall is obviously not that much of a Python user to have such a simple environment)
I second the official tutorial, it is the best programmer's intro to Python. IDK why it is not higher up in the list, maybe other people overlooked it (just like I did for many years).
I second the official tutorial, it is the best programmer's intro to Python. IDK why it is not higher up in the list, maybe other people overlooked it (just like I did for many years).
Remember that VSCodium is just Visual Studio Code sans telemtry, so offical documentation for VSCode should still work. Here's their article on linters.
Remember that VSCodium is just Visual Studio Code sans telemtry, so offical documentation for VSCode should still work. Here's their article on linters.
Since you're coding for Tildes, you should check out the framework it uses, Pyramid. Haven't worked with it myself, but it seems a lot lighter weight than Django, and the site seems to have some...
Since you're coding for Tildes, you should check out the framework it uses, Pyramid. Haven't worked with it myself, but it seems a lot lighter weight than Django, and the site seems to have some good tutorials and examples up.
And as tearearlgraycold mentioned, checking out mypy would be good, not only b/c you're coming from a typed background, but because Tildes also uses it (and Black) to ensure code quality. Having good tooling from the start helps a lot (especially virtualenv).
15 ish years ago, I learned Python with the excellent and free book "Dive Into Python". It's since been updated for Python 3. Here it is: https://www.diveinto.org/python3/
15 ish years ago, I learned Python with the excellent and free book "Dive Into Python".
I can't recommend Project Euler enough! It is not just a great way to learn programming, but a great way to learn or explore a new language in general. It really makes you think through things and worry about speed and efficiency and not just the brute force method. And the challenges progressively make you dive deeper into the language. When I used it to learn Python I just started brute forcing the answers and then had to become more efficient. Before long I needed to write functions. Not long after that I realized I was rewriting the same code over and over and refactored my answers to use a library I wrote with common functions.
If you're not using any other form of container/virtualisation, I'd suggest getting to know virtualenv, before this happens (Randall is obviously not that much of a Python user to have such a simple environment)
the VSCode documentation has a page on python in VSCode
I second the official tutorial, it is the best programmer's intro to Python. IDK why it is not higher up in the list, maybe other people overlooked it (just like I did for many years).
Since you're coming from a typed language background you might want to look into mypy. You can get it integrated with VSCodium.
Remember that VSCodium is just Visual Studio Code sans telemtry, so offical documentation for VSCode should still work. Here's their article on linters.
VS Code also has built in support for formatting with black as well, so check that out as well!
Since you're coding for Tildes, you should check out the framework it uses, Pyramid. Haven't worked with it myself, but it seems a lot lighter weight than Django, and the site seems to have some good tutorials and examples up.
And as tearearlgraycold mentioned, checking out mypy would be good, not only b/c you're coming from a typed background, but because Tildes also uses it (and Black) to ensure code quality. Having good tooling from the start helps a lot (especially virtualenv).
15 ish years ago, I learned Python with the excellent and free book "Dive Into Python".
It's since been updated for Python 3. Here it is: https://www.diveinto.org/python3/