First, install the Python3
ubuntu itself is installed Python2, for example, in Ubuntu 16.04 is installed in the python2.7. But I want to develop in python3 environment, so I will install Python3. But because Ubuntu has many low-level uses python2 so in the installation Python3 is unable to uninstall Python2. Execute the following command line:
sudo cp/usr/bin/python/usr/bin/python_bak
sudo rm/usr/bin/python
sudo ln-s/usr/bin/python3.5/usr/bin/python
Then enter Python to check if the version is correct (the version should be python3.5)
Second, installation sublime Text 3
As the saying goes 工欲善其事 its prerequisite, in the development of Python must first select a good editor. Sublime Text 3 is a lightweight, cross-platform textual editor. Can be installed on ubuntu,windows and Mac OS x advanced text editing software, there is a proprietary license, but the program can also be used free of charge, do not need to do reverse engineering. If you want to have a more advanced version available for a fee.
Open terminal and enter the following command:
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer
Uninstall the sublime text command:
sudo apt-get remove sublime-text-installer
This time you will find that the desktop does not appear sublime Text 3, then how do we open it? Enter SUBL from the terminal to start the Sublime-text and lock it directly to the sidebar after booting.
Chapter One: Setting up a python development environment under Ubuntu