For friends who have zero foundation, there is a small threshold or test for learning Python, which is to choose a tool for writing code.
Simple, just search online and find out what tools to use to write Python code. The answers are varied, including various editors and IDEs. Can you try them one by one?
Oh my god, I’ve been ruined by tools before I even started learning. (Recommended learning: Python video tutorial)
In fact, when learning Python, or any other programming language, what editing tools (development tools) you use is not the most important, as long as you choose to be familiar with it Just use a comfortable and simple editor. The focus of the learning process is to learn Python's syntax, functions, etc. No matter what you use, syntax and functions are the foundation of Python, and programming tools are just tools.
For beginners, IDE (integrated development environment) is actually not a good choice. The powerful functions of IDE will help beginners complete a lot of work, causing them to ignore some very important syntax or functions. If you rely too much on the IDE, a beginner may quickly complete a piece of code and run it successfully. However, without the IDE, the same program may have various bugs, such as spelling, format, etc.
Therefore, for beginners to learn Python, or other programming languages, the best programming tool is a text editor. It does not need too fancy functions, as long as it runs fast and takes up less resources, it is OK.
So which editor to choose?
The best choice is a cross-platform editor, which can run on MacOS, Windows, Linux and other operating systems.
Reason: When you change the operating platform, you can still use familiar tools to write some code, reducing the learning cost of familiar tools.
For example, Sublime Text, Atom, Visual Studio Code, gEdit, jEdit, etc., and of course the famous vim and emacs.
So many, how to choose?
The principle is just one, convenient, familiar, and lightweight.
I personally use vi and Sublime Text 3.
If I recommend it to everyone, it is Sublime Text 3, which is what I have been recommending.
Lightweight, this one is enough.
When you open Sublime Text 3, it opens in seconds, where the seconds are less than 1 second.
For more Python related technical articles, please visit the Python Tutorial column to learn!
The above is the detailed content of What tools should I use for beginners to learn python?. For more information, please follow other related articles on the PHP Chinese website!