I decided to split the learning roadmap in 4 weeks with each week dedicated to learning some specific areas of the language. As a developer, I know it is quite impossible to master a language in such a short span but a daily deliberate practice routine for the same duration is sufficient to start building interesting projects and build the foundations.
Week 1 - Python fundamentals, basic syntax, setting up the developer environment, basic working principle, practice some basic coding and document the process.
Week 2 - Programming Paradigms → Object-Oriented and Functional Programming Patterns.
Week 3 - Python Decorators, Error Handling, Modules, Generators, Debugging.
Week 4 - File I/O, Regular Expressions, Testing, Scripting using Python.
Extras(Based on time availability): Data Scraping, Server Setup, Machine Learning Basics.
Documenting my daily progress would help me build a reference journal for future reference as well. I hope can act
as a helpful resource to anyone looking to learn the language as well 🙂
I found this great video where the founder himself shares a brief story about the language.
Python is a high-level interpreted programming language.
What it means is that the python code needs to be translated (interpreted) by another software program which is called the interpreter that executes the code line by line and converts it into bytecode (very close to machine-readable code).
This bytecode is run by the Python virtual machine (gets installed when we install python) and then converted into machine-readable binary code which computers can process and perform the necessary action.
While installing Python, what we install is the python interpreter along with the virtual machine.
There are different variations of python interpreters:
Each of the implementations of their own features and trade-offs.
There are two major versions v2 and v3. In 2008, several major improvements were introduced in the language that introduced some breaking changes without considering backwards compatibility. The official docs now recommend using v3 and support for v2 would be ceased after 2020.
To keep things extremely simple at first, I wanted to play around with some basic hello world type code, to begin with.
name = input('What is your name?') #promts user input in console and store in a variable print('Welcome to the world of Python ' + name) # prints to console
Well, that's pretty much for Day-1! I know I have barely written any code. I just wanted to spend my first day in building the roadmap. Now that I have the language split into chunks, the goal would be to focus on the weekly goals and share daily progress about the same.
Have a great one!