A brief introduction to Python will serve to give you a basic understanding of the history and what it is, before we move on to lessons.
What is Python?
Taken from www.python.org:
Python is a dynamic object-oriented programming language that can be used for many kinds of software development. It offers strong support for integration with other languages and tools, comes with extensive standard libraries, and can be learned in a few days.Many Python programmers report substantial productivity gains and feel the languageencourages the development of higher quality, more maintainable code.
In other words, Python is easy to learn, read, and write, ensuring that you'll be able to understand what you wrote a few months after you wrote it.
A Brief History of Python.
Python was conceived in the late 1980s by Guido van Rossum in the Netherlands as a successor of the ABC programming language, and it soon gathered popularity, especially after it was released under the GPL in version 1.6.1.
Today, some of the largest projects that use Python are the Zope application server, and the original BitTorrent client. It is also extensively used by Google and NASA.
Note: This instructable is being actively edited and improved by it's author(ZN13) and collaborator(Hugo.B) so please be patient and keep visiting, you'll find learning Python a rewarding experience.
ZN13 Hugo.B
Remove these ads by
Signing UpStep 1Download Python
the Integrated DeveLopment Environment, IDLE
As of 16/6/07, the release is version 2.5.1
Python Download here.
We'll assume that you are using windows here, but if you're using any
Linux-based OS, it'll likely already have it installed.
To find out, open console/konsole/terminal(varies with distro), and type
python. If it is installed, the Python command-line will open up.
After you have installed it, go Start>All Programs>Python>IDLE and we'll get started!
| « Previous Step | Download PDFView All Steps | Next Step » |










































The strips of paper are places in the memory of the computer. Variables are given names, so that you can use the name as shorthand for whatever the value of the variable is; you use the same name regardless of what the current value is, so we call them "variables" (because they vary
-Y
So far so good
for example, if you had the os module already loaded with import os...
>>> input("num:")num:os.system("echo fubar")fubar0you can run an arbitrary shell command in the os.