Python3 Roadmap and Resources Guide For Beginners
Hello, welcome back! My name is Zuber, and I am interested in programming because it helps everyone in their journey in the tech field no matter even if you’re in the IT/Helpdesk! Many people in the cybersecurity industries say programming or coding is not necessary which is true but it will help you in so many situations that you come across, at least just learn the fundamentals of it. Coding/programming will help us and make our daily tasks easier by automating the boring and repetitive tasks that we face daily basis.
I was recently asked where to learn programming languages such as[Python] which is more like a scripting language that can do wonderful things across different platforms such as Linux, Windows, and macOS. So, I dig into the interwebs to find some good resources that could help beginners like myself and decided to share them here! Let’s get into it!
Disclaimer: 90% of this stuff is not mine and we collected it from the internet and social media.
Here are some resources that I recommend to anyone who’s starting or want to learn the programming language named [Python]. Just like anything in life or when learning new stuff, we start from the basics and move to an advanced level as we learn more and progress.
- The Fundamentals
- Basics of Terminal / Movement / Command Line Usage.
- Basic Arithmetic: [+, -, /, * or (x)]
- Accepting User Input
- For and While Loops
- Exception Handling
- if/else statement
- Function / Modules and Import
- The Intermediate
- Object-Oriented Programming in Python → Classes, Objects and Methods
- PIP(pypip)
- List Slicing
- String Formatting
- Dictionaries and Tuples
- Management Environment
- Dunder Method like[init]
- Advanced Concepts
- Lambda Functions
- Built-in Libraries such as [CSV, Requests, Sys, Sqlite, etc]
- Map and Filter
- *Args and **kargs
- Async
- Decorators
I recommend everyone to learn all these if you’re just starting your journey in python, all of these can be found on the internet/interwebs/google, and Youtube for free[zero cost]. Go them in order just like how I mentioned and I put all of them.
Preparation | Tools, etc:
You’ll need to install python3 latest version on your operating system, whether that is macOS, Windows, or Linux, here are some ways to do that!
- Installing python3 on macOS
- First, let’s update and upgrade the system using these two commands
→ brew update && brew upgrade [Let this finished]
Mine is already up-to-date so I just have to cancel it using CTRL/CMND + Z/CInstall python using this command
→ brew install python3
I also have this installed already so, I just need to cancel as well!
Windows Installtion via GUI
- It's going to be different to install windows, since I don’t use Windows, and don’t have it locally, you can just click this link which will take you to the official python website and follow along, google or search on YouTube if you get stuck!
- Link → https://www.python.org/downloads/windows/
Installing Python on Linux
- The process of doing this on Linux is straightforward and easy. Similar to macOS.
- Here is how to do it
Update and upgrade the system first:
→ sudo apt update && sudo apt upgrade -y
Wait until it's finished then install python using the below command like so,
→ sudo apt install python3
It's already installed on my machine for me but let it be finished if this is your first time installing it and do not press any key on the keyboard!
Editor To Code
If you want to be productive and have a nice/smoothie environment to code then you will need to install tools like vscode, sublime, etc.
These are my favorite two tools/editors to code, here’s how to install them.
macOS Operating System
- For macOS, Follow this [vscode] → https://code.visualstudio.com/docs/setup/mac
- Sublime on macOS → https://www.sublimetext.com/
Windows OS
- vscode Editor can be installed here → https://code.visualstudio.com/docs/setup/windows
- sublime on Windows → https://www.sublimetext.com/3
For Linux Users
- vscode on Linux[Offical Doc] → https://code.visualstudio.com/docs/setup/linux
- sublime on Linux → https://www.tecmint.com/sublime-text-editor-for-linux/
For those who likely don’t have enough storage on their machine, there is another option for you. You can learn through the browser
Now that you’re done installing the tools that you need, here are some good resources to learn python!
- Code on Browser For Free using Repl → https://replit.com/
- Exercism [You can learn and practice along] → https://exercism.org/tracks/python
- Offical python documentation website → https://www.python.org/doc/
The first thing I recommend for anyone who wants to learn programming or anything is to go to the official documentation and learn from there, but this can be confused and a little bit overwhelming for beginners, so here is a good video to start out with.
- YouTube Video Created By FreeCodeCamp → https://www.youtube.com/watch?v=rfscVS0vtbw
More Resources To Learn and Practice
- A Series of Articles That Teaches You The BeT Way To Use The Core Python Features → https://mathspp.com/blog/pydonts
- W3School Pythong Challange Question and Exercise → https://www.w3schools.com/python/exercise.asp?filename=exercise_syntax1
- More and Huge Resources of Python → https://www.freecodecamp.org/news/the-best-way-to-learn-python-python-programming-tutorial-for-beginners/
END: I am going to terminate this here, I don’t want to keep it long, don’t be overwhelmed, and just start the way I put all of them. I myself will be using these resources to learn Python too. You can’t learn everything at once or over a night so take your time wisely and make sure to not skip the basics!
I apologized for any mistakes, grammar errors, or anything related to it. I learned English a few years ago when I came to the US a few years ago so just letting you know!
Thank you for reading and appreciate your time.