Python is one of the most powerful languages when we talk about server-side programming languages, it has a really clear syntax, it is a multi-paradigm programming language, since, it supports object-oriented, imperative programming and to a lesser extent, functional programming. It is an interpreted language, uses dynamic typing and cross-platform, but not only that, Python is the base of one of the greatest frameworks to create web applications: Django.
Starting with python
First of all, you are going to need to install it depending on your operating system, please visit the official Python's website to obtain last stable version: https://www.python.org. In my case, I am using Python version 2.7.5, after installing you can run the interpreter in command line, just type:
This command will start the default "Python interpreter", if you notice, now your terminal has ">>>", that means the interpreter is waiting for you commands! Let's get started know the Python version we have installed:
I would recommend to use bpython interpreter instead of the default interpreter.
- Official beginners guide: https://wiki.python.org/moin/BeginnersGuide/Programmers
- Learn to program in Python : http://www.codecademy.com/en/tracks/python
- Python documentation: https://docs.python.org/3/
- The Python Standard Library: https://docs.python.org/3/library/index.html
- Python editors: https://wiki.python.org/moin/PythonEditors
Following is a list of some utilities I like to use in order to optimize my workflow when I install and develop Python scripts:
- pip. A tool for installing and managing Python packages.
- bpython. A nice interface to the Python interpreter that works in GNU/Linux, BSD, Mac OS X and even in Windows.