Download presentation
Presentation is loading. Please wait.
1
Introduction to Python John Alexis Guerra Gómez CMSC433 Spring 2010 University of Maryland
2
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.
3
More definition Python is cross platform (for many platforms). The standard library is huge, very useful, and is very well documented. http://docs.python.org/library/ 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
4
The Interactive mode aguerra@eltiestico2:~$ python Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) [GCC 4.3.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> print "Hola mundo" Hola mundo
5
Working with a file Save your file as hola.py Run it with python hola.py
6
Basic types Numbers Strings Lists Tuples Maps Functions
7
Basic Data Types
8
Lists
9
Tuples
10
Dictionaries
11
Functions
12
Classes
13
Introspection
14
Functional Programming
15
Lists Comprehension
16
From Java to Python http://www.razorvine.net/python/PythonForJavaProgrammers
17
Google's developers Python Lecture http://www.youtube.com/watch?v=tKTZoB2Vjuk
18
Some other things One of the things that I really like of Python is that you can use it for almost anything
19
You like video games http://www.pygame.org http://home.gna.org/oomadness/en/soya3d/inde x.html http://home.gna.org/oomadness/en/soya3d/inde x.html
20
Scientific Work http://www.scipy.org/ http://matplotlib.sourceforge.net/
21
Web developing http://www.djangoproject.com/ http://turbogears.org/
22
Database Access http://www.sqlobject.org/
23
GUI Development http://www.wxpython.org/ http://www.pygtk.org/ http://wiki.python.org/moin/PyQt
24
Image manipulation http://www.pythonware.com/products/pil/
25
More http://wiki.python.org/moin/UsefulModules
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.