Home  >  Article  >  Backend Development  >  What is a python text editor

What is a python text editor

藏色散人
藏色散人Original
2019-07-04 10:22:589989browse

What is a python text editor

Python is a computer programming language. It is an object-oriented dynamic type language that was originally designed for writing automated scripts (shells). With the continuous updates of the version and the addition of new language features, it is increasingly used for the development of independent and large-scale projects.

What is the python text editor?

The python text editor is a text editor that can be used to edit Python code.

The advantage of writing a program on the interactive command line of Python is that you can get the result in one go, but the disadvantage is that it cannot be saved and you have to type it again next time you want to run it.

So, when actually developing, we always use a text editor to write code. After writing, save it as a file, so that the program can be run repeatedly.

Now, we will write out the last 'hello, world' program with a text editor and save it.

Recommend two text editors:

One is Sublime Text, which is free to use, but if you don’t pay, a prompt box will pop up, and you need to save the file manually each time, Chinese version Or you need to download a plug-in for hot update;

One is Notepad, which is free to use and has a Chinese interface.

Or you can also use webstorm, which can automatically save files, but it takes up a lot of memory.

Please note that you can use any one, but you must not use Word or the Notepad that comes with Windows. Word does not save a plain text file, but Notepad will cleverly add a few special characters (UTF-8 BOM) at the beginning of the file, which will cause inexplicable errors when the program runs.

Related recommendations: "Python Tutorial"

The above is the detailed content of What is a python text editor. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:How to use self in pythonNext article:How to use self in python