Linux

  1. To install Python on Linux you will want to use your system's package
    manager. We'll show how to install Python on a recent version of Ubuntu, but the process is very similar on most other modern Linux distributions.

  2. On Ubuntu, first start the Ubuntu Software Center. This can usually be run by clicking on it's icon in the launcher. Alternatively, you can run it from the dashboard by searching on Ubuntu Software Center and clicking the selection.

  3. Once you're in the software center, enter the search term python 3.5 in the search bar in the upper right-hand corner and press return.

  4. One of the results you'll get will say Python (v3.5) with Python Interpreter (v3.5) in smaller type beneath it. Select this entry and click the Install button that appears.

  5. You may need to enter your password to install the software at this point.

  6. You should now see a progress indicator appear, which will disappear when installation is complete.

  7. Open a terminal (using Ctrl+Alt+T) and verify that you can run Python 3.5 from the command line:

$ python3.5
Python 3.5.0+ (default, Oct 11 2015, 09:05:38)
[GCC 5.2.1 20151010] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>

Welcome to Python!

The triple arrow prompt shows you that Python is waiting for your input.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset