DEV Community

Cover image for How To Master Python
Mark Vassilevskiy for Abstract

Posted on • Updated on

How To Master Python

Python is one of the most popular and friendly programming languages, I learn Python myself a few years ago and it was my first programming language too, however, there weren't any roadmaps or quick tutorials/courses on how to learn Python.
That's why I provide you these top tips that helped me and 100% will help you of learning not only Python but any other subject that you want.

At the end of this article, I'll leave a link to my roadmap that I built for you, where you can find all sites, book, courses which I will tell you about in this article.

1. Understand Why

Firstly, you need to know why you want to learn Python and whom you want to become when you will already know Python. The reason like: I want to learn Python because it's easy (actually not so easy) and earn millions of dollars per year. That doesn't work so.

When I just started learning Python I really enjoyed the idea of automating everything and building your own robot or AI. Find something that will inspire you and if it's not Machine Learning, Automatization, Web, or other things that you can easily do with Python, then it's not your language.
When you are completely sure that you need to learn Python and you understand why then this will give you an accurate idea in which direction you should move and help you not to lose motivation to study it.

2. Learn How to Learn

As I said some of these tips will help you not only with Python. Learning how to learn is a very common part, you should define which way of learning is better for you, for instance, watching YouTube videos/course, read books, or other ways.

Actually, they will all be used in some amount, but basically, you should study the method that suits you best (especially I watch videos or courses).

3. Fundamentals

If you won't get the fundamentals of Python you also won't get more difficult things like Data Science. It's obviously the easiest part of learning Python, just watch some Crash Course of Python on Udemy, Coursera, Codecademy or read Python Crash Course, Automate the Boring Stuff with Python, of course, you can learn from your own sources.

There's the list of Fundamentals that you should learn first:

  • Variables
  • Operators
  • If, Else
  • Loops
  • Functions
  • Data Types
  • Classes and Objects

Make sure you understand all of these points.

4. Practice

If you've read tons of books and watched tons of courses but still don't understand how to write a function that will sort your array list, that you need way more practice.
Hopefully, for you, there're many sites where you can find problems that you should solve and not only. Even if you know how to sort your array, then practice at such sites as Codewars, HackerRank, LeetCode, TopCoder, etc., on these websites you can train your muscle memory to write faster easy code and train programmer thinking (Algorithms and act.).
Also, you can help other people to solve their problems at StackOverflow. .If you want to master Python then you should integrate practice into your daily routine, it's useful only where you do it repeatedly.

5. Diving into Community

You need to understand that you actually can't do anything alone, anyway, for big projects you'll need some group of people that will help you and inspire you, even such companies as Google and Apple weren't build by only one person.
It means that you should know where to get new programmer friends. In a nutshell, you can just join the Discord Server of Python and just talk to other programmers or when you are stuck at the problem at Codewars you can easily ask for help and solve this problem with someone else. Another way to find new friends is to take part in different ways of Hackathons.

6. Libraries and Frameworks

Soon as you learned all basics and have more hours of practice and can easily write some sort of algorithm, then you should learn Libraries and Frameworks in the direction in which you want to develop further, as I said earlier it can be Machine Learning, Automatization or Web-Development.
There's top of the most popular and effective Frameworks that you should learn: Top Machine Learning Frameworks To Use in 2021, Best Python Frameworks, and many others.

7. Share Your Knowledge

If you ever hear of Richard Feynman that you probably know that he had a technic that helped him to learn everything and to reach truly amazing heights in physics and not only if you want to understand something yourself better explain it to someone else.

Start making courses, YouTube videos, Write Medium articles, or you can start a blog on different kinds of platforms. I taught my friends and now they are making cool projects on Python like me.

Making a repository on GitHub or Uploading your own game into App Store or Play Market is a way of sharing knowledge too, don't worry that someone will criticize you, and don't worry that your first project won't be great, over time, the experience will come and it will become much faster and easier for you to do this


The latest advice that I can give you is to grow in your direction and have the fun of it, don't worry about what will say to others, and make this world better.
As I promised at the start of this article, I will give a link to my own Machine Learning Roadmap which contains many links to different kinds of resources, books, concepts. Also, there's written how to learn Linux, Math ( You can also add me at Discord: MarkFusion#2903

Top comments (4)

bhargavsairaje1 profile image

Wheres the link

metamark profile image
Mark Vassilevskiy

which exactly?

rutvij profile image
Rutvij Brahmbhatt 🇭🇲

Link for the roadmap.

Thread Thread
metamark profile image
Mark Vassilevskiy