10 Common Mistakes to Avoid When Learning Python

Tommy Chan
3 min readDec 5, 2022
Photo by Roman Synkevych 🇺🇦 on Unsplash

As a beginner to Python programming, it can be easy to make mistakes that can hinder your progress and frustrate you. In this article, we will look at 10 common mistakes that beginners often make when learning Python, and how to avoid them.

Installing Python incorrectly

To use Python, you need to have it installed on your computer. If you are using Windows, make sure to check the “Add Python to PATH” option during installation. This will allow you to run Python from the command line without having to specify the full path to the Python executable.

Luckily, Mac OS users avoid this issues having python installed by default.

Using the wrong Editor or IDE

While you can write Python code in a simple text editor like Notepad, it is much easier to use a text editor or Integrated Development Environment (IDE) designed specifically for Python. These tools provide features like syntax highlighting, auto-indentation, and code completion, which can save you time and help you avoid mistakes.

Incorrect Indentation

Python uses indentation to indicate code blocks, and using incorrect indentation can cause syntax errors. Make sure to indent your code correctly, and use a…

--

--

Tommy Chan

Writing about technology, business, and work culture. Subscribe to my Web3 newsletter at https://stillbuilding.substack.com/