Top Banner
10

Python - basics

Jul 05, 2015

Download

Technology

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Python - basics
Page 2: Python - basics

HISTORY

Guido  Van  Rossum  

1980  

*.  pyc  BUT  

Page 3: Python - basics

OPERATIONAL SYSTEMS

Page 4: Python - basics

PYTHON 2.X VS 3.X

2.x   3.x  Compa7bility  with  existent  frameworks  

Easy  to  understand  

Mature  language   More  robust  

MacOS  and  Linux  come  with  embedded  

‘one  way  to  do’  

Could  be  a  liJle  confuse  for  begginer  user  

No  backward  compa7bility  

Page 5: Python - basics

NOT IN PYTHON 3.X YET

Twisted  (for  networking  and  other  applica7ons)    gevent  (like  Twisted,  but  using  micro-­‐threads  rather  than  an  explicitly  asynchronous  style).  

Page 6: Python - basics

MIGRATED TO PYTHON 3.X

Numpy  (for  number  crunching)    Django,  Flask  ,  CherryPy  and  Pyramid  (for  Web  sites)    PIL  (an  image  processing  module)    cx_Freeze  (for  packaging  applica7ons  with  their  dependencies)    Py2exe  (for  packaging  your  applica7on  for  Windows  users)  

Page 7: Python - basics
Page 8: Python - basics

CODE

Page 9: Python - basics

CODE

Page 10: Python - basics

Jéferson Machado Agile  coach  

Social  network  informa7on  

http://twitter.com/jefersonm http://facebook.com/jefe.machado

https://github.com/jefersonm/ http://slideshare.net/jefersonm