Python development tools on linux_linuxpython development tools, what tools are good for developing python under linux

Which python editor is better in linux

It is recommended to use the following development tools to learn Python. Please choose one according to your own preferences.

2 kinds

The first is the editor

1、vim

2、atom

3、sublime text

4、Visual Studio Code

The second is the python integrated development environment (ide)

1, pycharm python integrated development environment, there is a free version.

2, wingide python integrated development environment, there is a free version.

3, liclipse python integrated development environment, free.

Which linux is suitable for python development

In fact, any linux distribution is possible.

You can choose according to whether you can install the inherited development environment of python (eclipse, pycharm), as far as I know, it is possible.

So, in fact, considering the aesthetics and popularity, ubuntu is my recommendation. It is said that the domestic deepin linux distribution can also be considered. Redhat is also possible, and centos is also fully competent.

Which linux to use for developing python

Hee hee, debian system, sudo apt-get install python python-* or after installing python-pip, use pip to install other modules. Pip is not very good for me, and I need to specify the use of Douban mirror 7.0 and later use pip install django --trusted-host pypi.douban.cim

How to run python program under linux?

There are two ways:

1. Execute directly using python xxxx.py. Where python can be written as the absolute path of python. Use which python to query.

2. Write #!/usr/bin/python2.7 at the head of the file (the first line). This place uses the absolute path of python, which is the result of the query with which python above. Then you can use ./xxx.py to execute it outside.

因为在linux中,python啊shell这些程序都是普通的文本格式,都需要一种程序去解释执行它。要么调用的时候指定,要么在文件头指定。

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324354762&siteId=291194637