Skip to content

Installation

Farrokh Karimi edited this page Jan 27, 2019 · 8 revisions

[Previous Page]

Python is available for Windows, Mac OS and most of the flavors of Linux operating system. The most up-to-date and current source code, binaries, documentation, news, etc., is available on the official website of Python.

Installation

At first, Open a terminal window and type "python" to find out if it is already installed and which version is installed. If Python was not installed, getting follow the following instruction for each operating system.

Windows

Install from sourse : https://www.python.org/downloads/

Linux

Python 2 and Python 3 are usually installed on Linux, but if they were not installed, use following method. Different flavors of Linux use different package managers for installation of new packages. On Ubuntu Linux, Python 2 and Python 3 is installed using the following command from the terminal.

sudo apt install python  #For Python2
sudo apt install python3 #For python3

Mac OS

Install from source : https://www.python.org/downloads/mac-osx/

IDE

An Integrated Development Environment is a text editor geared towards software development. You will have to install an IDE to control the flow of your programming and to group projects together when working on Python.

Running

There are many different ways to start Python. You can start Python from Unix, DOS, or any other system that provides you a command-line interpreter or a shell window. Enter python on the command line and start coding right away in the interactive interpreter. Remember that to running Python in a terminal, the Python path must be added to the system path.

[Next Page]

Clone this wiki locally