Python Introduction

2,919 views

Published on

Introduction to Python programming language
A brief history
Main Features
Some Application Written in Python

Published in: Technology

Python Introduction

  1. 1. Introduction beheshtraya@gmail.com amir.sahebfosoul@gmail.com
  2. 2. What is Python? • A programming language o High-level o Interpreted o Open Source o General purpose o Object-oriented o Easy to interface with C/C++/Java/Fortran o Great interactive environment o…
  3. 3. Why Python? • There is no best programming language o It’s up to your needs
  4. 4. History • First Implementation on 1989 • by Guido van Rossum • Python 2.0 released at 2000 • Python 3.0 released at 2008
  5. 5. Progress … • First in CWI in Science Park Amsterdam. • 2005 – 2012 in Google • Present at Dropbox
  6. 6. Code Features • emphasize code readability: o Beautiful is better than ugly. o Explicit is better than implicit. o Simple is better than complex. o Complex is better than complicated. o Readability counts. print(“Hello World !")
  7. 7. Implementations • CPython • PyPy • Jython • IronPython • Cython • PyS60 • Pyjamas • Shed Skin • …
  8. 8. CPython • Main reference implementation • With large libraries written in C & Python • Support by almost every OS o Windows o Linux o Mac OS X o Apple iOS o Android o …
  9. 9. PyPy • Alternate general implementation • Faster • Better memory usage • Compatible with popular libraries
  10. 10. Jython • Written in Java • Can use Java class and modules • Include most of the python standard library • Brings Java to Python
  11. 11. IronPython • written entirely in C# • Employ .NET framework • First Developed by Microsoft • Brings .NET classes into Python
  12. 12. Cython • Can use C/C++ modules & function inside python • written in Python • Is superset of python • Brings C/C++ into Python
  13. 13. PyS60 • Developed by Nokia • Python shell inside S60 device • Brings Python into Nokia S60
  14. 14. Pyjamas (Pyjs) • Web & desktop application framework • Generate JavaScript from Python • Base on Google web toolkit • Brings JavaScript in Python
  15. 15. Shed Skin • Compiler for Python • Generate C++ code • Brings Python in C++
  16. 16. Organizational Use • Google • Yahoo • NASA • CERN
  17. 17. • YouTube • Gmail (+java) • Google Groups • Google Maps • Parts of Search Engine
  18. 18. • Yahoo Groups • Yahoo Maps
  19. 19. • Speed up Coding Process • Make Designing Workflow Easier
  20. 20. • Used in Complex Mathematic & Physics Calculation
  21. 21. Applications • Scientific • Games • Network • …
  22. 22. Scientific • Bioinformatics o AstraZeneca (Drug Discovery) • GIS and Mapping o The Blind Audio Tactile mapping System • Simulation o Carmanah Lights the Way
  23. 23. Games • Civilization IV o Major parts of the interface, map generation, and scripted events are written entirely in Python, and can be customized. • Battlefield o Uses Python for all of its addons and a lot of its functionality
  24. 24. Network • Bit Torrent • D-Link Australia o Control Firmware Updates • Mozilla Website (with Django) • Socket Programming
  25. 25. PyEverything • Libraries • Web framework
  26. 26. Libraries • Huge Standard Library • Lots of third-party libraries
  27. 27. Web-Frameworks • Django • Pylons • Pyramid • TurboGears • Web2py • Tornado • Flask • Zope
  28. 28. Our Project download.iut.ac.ir IUT File Sharing System - Completely written in Python - Powered by Django
  29. 29. Thank You

×