RPi Twitter Led
This program follows on from the standard Python Twitter experiments.
The original inspiration for this whole experiment came from a @Rob Bishop (OCR) Raspberry Pi Recipe Card. The objective of the program is to light an LED every time a tweet containing a particular word is sent to a certain person.
Python is a highly readable language that is easy to use and learn hence it is gaining popularity as an education language. However, this should not lead anyone to consider it a child’s language for it is not. It is very powerful, flexible and platform independent. It supports many styles of programming from scripting and web design to GUI/Game development.
TKinter is the easiest way to get drawing in Python.
Arrays & Lists
Python provides a number of array like structures that you can use. Python Lists are probably more flexible and the easiest to use. They are able to contain data of different types and can grow/shrink in size easily. However, the Array datatype takes up less space but is of fixed size and single data type. Python also provides Dictionaries, which let us store values linked to a specific key. There are other data structures available but they are beyond the scope of this page.