Python
"Python is a programming language that lets you work quickly and integrate systems more effectively."
- Python website (http://www.python.org)
It is true that nearly no other interpreter language is as popular as Python. Additionally, there are a bunch of add-ons for Python that are available, ranging from a simple web server to complex graphics libraries. In this section, the reader will learn some basics of Python. We will use Python in order to program GPIO pins. We will look at a more complex example that will deal with graphical output in a window.
The basics
Before Python can be used, Python itself and the associated developer packages need to be installed:
sudo apt-get install python python-dev
For my examples, I've used 2.7.x version of Python. Python 3.x is not needed in order to execute the examples.
Since Python is an interpreter, there are two possibilities of executing a Hello world! program. The first option is to invoke Python in a terminal by typing python...