Python Tutorial for Beginners - Tutorial 2 - Python Installation (Python Programming Environment)

We need to install Python Software (Interpreter) to write & execute Python programs.

An interpreter is a computer program that directly executes instructions written in a programming or scripting language.

Python is a cross-platform language; it supports MS Windows, Linux, Solaris, Mac etc, popular operating environments.

Download & Install Python....

Download your operating system compatible Python software from python.org, it is open source software, and Python Software Foundation manages the Python Programming Language.

Install Python, set path while installation.

After Installation you can get Python Console and Python Shell (IDLE) to write and execute Python programs, Otherwise you can use PyCharm, Eclipse IDE, NetBeans etc...

Python IDLE is best for learning, and IDE is best for real-time project.

Python has two modes of Programming:

i. Interactive Mode

Interactive mode is great for quickly and conveniently running single lines or blocks of code, and we can't edit the previous code in this mode.

ii. Script / File Mode

Script Mode is used when the user is working with multiple statements or multiple blocks of code. In script mode we can edit the code, need to save the code in a file and run.

Python Implementations:

i. Jython is an implementation of the Python programming language designed to run on the Java platform.

ii. CPython is the reference implementation of the Python programming language. Written in C and Python, CPython is the default and most widely used implementation of the language.

iii. IronPython is an implementation of the Python programming language targeting the .NET Framework and Mono.

iv. Anaconda is a free and open-source distribution of the Python and R programming languages for scientific computing.