Want to learn Python as a beginner in 2021 for free?
Here's everything you need to know to get started with updated resources and a proper roadmap!
🧵 👇🏻
A bit of backstory, I wrote my first piece of Python code in 2015 but eventually gave it up for several years because of two main reasons:
A. I had no internet
B. No guidance
You have the power of the internet and I don't want the same to happen to you, hence this guide.
All of this is based on my experience of successfully teaching 300+ students the basics of how to code using Python.
Feel free to modify this roadmap to your liking!
Now onto the guide.
Why learn Python as a beginner?
• Comparatively easier to learn than other languages
• Several use cases
• Has an awesome community
The list of topics you need to cover 👇🏻
1️⃣ Basics
• Basic terminal commands
• Basic arithmetic (+,-,/,*)
• Accepting user input
• For & While loops
• Exception handling
• If/Else statements
• Functions, modules & Imports
2️⃣ Intermediate concepts
• Object oriented programming in Python:Classes, Objects, Methods
• PIP (Pypi)
• List slicing
• String formatting
• Dictionaries & Tuples
• Managing environments
• Dunder methods like __init__
3️⃣ Advanced concepts
• Lambda functions
• Built in libraries like CSV, requests, Sqlite
• Map and Filter
• *args and **kwargs
• Async
• Decorators
From what I've observed, most beginners find it really difficult just to get the Python environment setup and then using the terminal becomes an even bigger nightmare for them.
Let's tackle this issue.
You need to install 2 things:
• Anaconda for managing environments (different versions of Python)
• Python3
Whatever editor you choose, just remember that it does not really matter where you write you code.
It should just get the job done comfortably for your needs.
Now that you have a place where you can write your code, lets see how you can begin to actually learn how to write it.
The Basic & Intermediate Python course on freecodecamp go over pretty much all Python concepts you need for machine learning which I have mentioned above.
Another thing which most beginners skip is knowing how to use the terminal properly and the know-how of navigating around folders.
Here's a brilliant website which gives you an overview of the windows command prompt, enough for you to get started.
🔗bit.ly/34tmnGd
The story is a bit different on Linux and Mac, their terminals are extremely powerful and packed to the brim with features, here's a tutorial which will help you get started with the basics 👇
🔗youtube.com/watch?v=oxuRxtrO2Ag
Keep in mind that you should learn how to use the linux terminal because at some point in your machine learning journey you will have to deal with linux.
It is not important to learn it at the start but I do recommend it.
This tutorial will help you in knowing how to work with folders, this is important!
Web3 is all the rage right now, it is not hard to find solidity developers that are being paid as much as $160k/year.
I've been waiting to dive into it for a while, so here's a structured online curriculum that I have hacked together.
The best part, it's 100% free.
🧵 👇🏻
First of all, wtf even is web3? 🌐
Web3 is the next stage of evolution of the web that will * most probably * be powered by blockchain at its core.
The modern web that we know today is 'web2' and mostly controlled by large corporations like Google, FB etc.
Web3 changes that, it decentralizes the power from these corporations to users and creators.
Today big companies own our data and profit from it, in the web3 world, nobody owns the data, its public and this is possible because of the blockchain ⛓️