上QQ阅读APP看书,第一时间看更新
Setting up the editor or IDE
Lastly, you require a text editor or an IDE to edit the scripts. As Python programs are just text files that we can edit directly, if you do not have a favorite text editor, sublime text3 is a good option:
- To install sublime text3, you can download the latest version from https://www.sublimetext.com/3.
- You can install sublime text3 from the command line with the following commands:
$ sudo add-apt-repository ppa:webupd8team/sublime-text-3 $ sudo apt-get update $ sudo apt-get install sublime-text-installer
- It would be better if you could install the Anaconda package for sublime text3. To install it, use the keyboard shortcut Ctrl +Shift + P and type install. This will show an option Package Control: Install Package.
- Select this and search for the package Anaconda. Select the package to install it.