KEMBAR78
Learn python | ODP
Programming at the speed of light Pythonism Kracekumar.R [email_address]
Agenda What is Python ???
Why Python ???
Syntax Walkthroughs
Linux and Python
What is Python ??? What is Python ???
Why Python ???
Syntax Walkthroughs
Linux and Python
History Created by Guido von Rossum in 1990 (BDFL)
named after Monty Python's Flying Circus
http://www.python.org/~guido/
Blog http://neopythonic.blogspot.com/
Now works for Google
What is Python ??? general-purpose high-level programming language, often used as a scripting language.
interpreted, interactive, object-oriented.
incorporates modules, exceptions, dynamic typing, very high level dynamic data types, and classes, automatic memory management.
remarkable power with very clear syntax.
has interfaces to many system calls and libraries, as well as to various window systems, and is extensible in C or C++.
What is Python ??? supports multiple programming paradigms (primarily object oriented, imperative, and functional)
portable: runs on many Unix variants, on the Mac, and on PCs under MS-DOS, Windows, Windows NT, OS/2, FreeBSD Solaris, OS/2, Amiga,AROS, AS/400, BeOS, OS/390, z/OS, Palm OS, QNX, VMS, Psion, Acorn RISC OS, VxWorks, PlayStation, Sharp Zaurus, Windows CE and even PocketPC !
What is Python ??? Developed and supported by a large team of  volunteers - Python Software Foundation
Major implementations: CPython, Jython, Iron  Python, PyPy CPython - implemented in C, the primary implementation
Jython - implemented for the JVM
Pypy - implemented in Python
IronPython - implemented in C#, allows python to use the .NET libraries
Why Python ??? What is Python ???
Why Python ???
Syntax Walkthroughs
Linux and Python
Why Python ??? Readability, maintainability, very clear readable syntax
Fast development and all just works  the first time...
very high level dynamic data types
Dynamic typing and automatic memory management
Free and open source Implemented under an open source license. Freely usable and distributable, even for commercial use.  Simplicity , Great first language
Availability (cross-platform)
Interactivity (interpreted language)
Why Python ??? GUI support – GUIs typically developed with Tk
Strong introspection capabilities
Intuitive object orientation
Natural expression of procedural code
Full modularity, supporting hierarchical  packages
Exception­based error handling
The ability to be embedded within applications as a scripting interface
Scalable – can play nicely with other languages
Batteries Included The Python standard library is very extensive  regular expressions, codecs
date and time, collections, threads and mutexs
OS and shell level functions (mv, rm, ls)
Support for SQLite and Berkley databases
zlib, gzip, bz2, tarfile, csv, xml, md5, sha
logging, subprocess, email, json
httplib, imaplib, nntplib, smtplib
and much, much more ...
Python Libraries Biopython - Bioinformatics
SciPy  - Linear algebra, signal processing
NumPy - Fast compact multidimensional arrays
PyGame - Game Development

Learn python

Editor's Notes

  • #2 - needs Software Freedom Day@Alexandria University
  • #56 Write most useful links for beginners starting
  • #57 Write something more interactive