Introduction to Python John Alexis Guerra Gómez CMSC433 Spring 2010 University of Maryland
Definition Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python’s elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms.
More definition Python is cross platform (for many platforms). The standard library is huge, very useful, and is very well documented. Many companies make significant use of it Google uses it for a lot of their internal software projects David Bagget (speaking Tuesday) uses it in his start up company
The Interactive mode python Python (release26-maint, Apr , 01:56:41) [GCC 4.3.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> print "Hola mundo" Hola mundo
Working with a file Save your file as hola.py Run it with python hola.py
Basic types Numbers Strings Lists Tuples Maps Functions
Basic Data Types
Lists
Tuples
Dictionaries
Functions
Classes
Introspection
Functional Programming
Lists Comprehension
From Java to Python
Google's developers Python Lecture
Some other things One of the things that I really like of Python is that you can use it for almost anything
You like video games x.html x.html
Scientific Work
Web developing
Database Access
GUI Development
Image manipulation
More