Python
Python is powerful... and fast;
plays well with others;
runs everywhere;
is friendly & easy to learn;
is Open.
Python is a powerful high-level, object-oriented programming
language created by Guido van Rossum.
It has simple easy-to-use syntax, making it the perfect language for someone
trying to learn computer programming for the first time.
Python is a cross-platform programming language, meaning,
it runs on multiple platforms like Windows, Mac OS X,
Linux, Unix and has even been ported to the Java and .
NET virtual machines. It is free and open source.
python helloWorld.py
Python Program to Print Hello world!
A simple program that displays“Hello, World!”.
It's often used to illustrate the syntax of the language.
Type the following code in any text editor or an IDE and save it as helloWorld.py
print("Hello world!")
To run the script, type python helloWorld.py in the command window.
We should be able to see the output as follows:
Hello world!
Getting Python
Next, install the Python interpreter on your computer.
This is the program that reads Python programs and carries out their instructions;
you need it before you can do any Python programming.
Mac OSX distributions from 10.3 (Panther) and up include a version of Python,
which may be suitable for beginning despite being as much as two years out of date.
Linux distributions also frequently include Python, which is readily upgraded.
There are currently two major versions of Python available:
Python 2 and Python 3.
The Python2orPython3 page provides advice on how to decide
which one will best suit your needs.