Python is a wonderful and powerful programming language that’s easy to use (easy to read and write) and with Raspberry Pi lets you connect your project to the real world.It is a high level,interpreted,interactive and object oriented scripting language.Python was designed to be highly readable which uses English keywords frequently where as other languages uses punctuation and it has fewer syntactical constructions than other language.
Python is processed at the run time by the interpreter and you do not need to compile your program before executing it.Python also supports Object-Oriented style or technique of programming that encapsulates code within objects.
The easiest introduction to Python is through IDLE, a Python development environment. Open IDLE from the Desktop or applications menu. IDLE gives you a REPL (Read-Evaluate-Print-Loop) which is a prompt you can enter Python commands in to. As it’s a REPL you even get the output of commands printed to the screen without using “print”.
Note two versions of Python are available: Python 2 and Python 3. Python 3 is the newest version and is recommended, however Python 2 is available for legacy applications which do not support Python 3 yet.
The topics we will be covering are