LinuxSoftware

Coding and tramping in Aotearoa / New Zealand

What is Python?

Python is a freely available, very high-level, interpreted language developed by Guido van Rossum. It combines a clear syntax with powerful (but optional) object-oriented semantics. Python is available for almost every computer platform you might find yourself working on, and has strong portability between platforms.

Notes

Examples

A one line web server (localhost:8000)...

python -c "import SimpleHTTPServer;SimpleHTTPServer.test()"

Zip is also unzip...

dict(zip(range(5), range(0, -5, -1)))
a,b = zip(*x.iteritems())

Fibonacci numbers

reduce(lambda x, y: x + [x[-2]+x[-1],], range(12), [0, 1])

Python Editors

Projects using Python


Software | PyGTK | PythonLinks | C++ | PyLint | CategoryProgrammingLanguage