Skip to end of metadata
Go to start of metadata

About

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:

python

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:

>>>import sys
>>>print (sys.version)
 
// These two command will give us the version, for example:
2.7.5 (default, Mar  9 2014, 22:15:05)
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]

I would recommend to use bpython interpreter instead of the default interpreter.

Complementary utilities

Following is a list of some utilities I like to use in order to optimize my workflow when I install and develop Python scripts:

  1. pip. A tool for installing and managing Python packages.
  2. bpython. A nice interface to the Python interpreter that works in GNU/Linux, BSD, Mac OS X and even in Windows.

About the author

Enterprise Web Developer

Alex is an experienced technology professional. His background includes:

  • Web Technologies: Semantic Web (RDF, OWL), MVC Frameworks (CakePHP, CodeIgniter) Content Management Systems (Drupal, Joomla, WordPress), JavaScript libraries (jQuery, Mootools), CSS3, HTML5, mobile web (Sencha, jQuery mobile), Operating Systems, and,
  • Research: Complex Systems (Cellular Automata in specific), Artificial Intelligence, Computer Graphics and Computer Simulation to create computer models of living.