python (part 0)
DESCRIPTION
first Mashhad Software Talks 6-jan-2014 part0 of Python learning -------------------------------------- Contents: What is Python? What can you do with Python? Why should you learn Python? How is Python used in the real world? Which version? Python 2 or Python 3? How to Start Programming in Python? apendix: A: Install B: IDE C: FrameWorks and etc! D: simple CodeTRANSCRIPT
![Page 1: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/1.jpg)
python(p1)
Presenter : Ramin NajjarbashiEmail: ramin.najarbashi@ .com
![Page 2: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/2.jpg)
![Page 3: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/3.jpg)
Who am I?
![Page 4: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/4.jpg)
Who am I?
● Farhamg.Name● Robocup Server 2D● GNegar● BadTag● BlueWay● UMS● Xbuilder● ...
![Page 5: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/5.jpg)
Contents● What is Python?● What can you do with Python?● Why should you learn Python?● How is Python used in the real world?● Which version? Python 2 or Python 3?● How to Start Programming in Python?
![Page 6: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/6.jpg)
Contents● What is Python?● What can you do with Python?● Why should you learn Python?● How is Python used in the real world?● Which version? Python 2 or Python 3?● How to Start Programming in Python?
![Page 7: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/7.jpg)
history
● Guido van Rossum
![Page 8: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/8.jpg)
historyMonty Python
![Page 9: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/9.jpg)
philosophy
![Page 10: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/10.jpg)
FeaturesPython Software Foundation License
![Page 11: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/11.jpg)
FeaturesFaaaaaaaaaaaaaaaasT
![Page 12: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/12.jpg)
FeaturesFaaaaaaaaaaaaaaaasT
CHECKpypy
![Page 13: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/13.jpg)
FeaturesFaaaaaaaaaaaaaaaasT
CHECKCpython
![Page 14: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/14.jpg)
FeaturesTools & tools & other tools, still other tools, tools, tools
![Page 15: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/15.jpg)
Features
![Page 16: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/16.jpg)
Features
![Page 17: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/17.jpg)
Hello World
![Page 18: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/18.jpg)
FeaturesReadable!
![Page 19: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/19.jpg)
FeaturesMultiple programming paradigms
![Page 20: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/20.jpg)
Features
General-purpose
![Page 21: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/21.jpg)
Featureshigh-level programming language
![Page 22: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/22.jpg)
FeaturesInterpreters
![Page 23: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/23.jpg)
FeaturesScripting
![Page 24: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/24.jpg)
Python family– Python– Cpython– Jython– IronPython
![Page 25: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/25.jpg)
Python family– Python– Cpython– Jython– IronPython
Python in your
language : C,
java, C#
![Page 26: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/26.jpg)
Python family– Python– Cpython– Jython– IronPython
Python in your
language : C,
java, C#
And etc … Assembly!!!
![Page 27: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/27.jpg)
Cat Dog
![Page 28: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/28.jpg)
Cat Dog
![Page 29: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/29.jpg)
Cat Dog
![Page 30: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/30.jpg)
Features(multi) ** ∞ platform
![Page 31: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/31.jpg)
Contents● What is Python?● What can you do with Python?● Why should you learn Python?● How is Python used in the real world?● Which version? Python 2 or Python 3?● How to Start Programming in Python?
![Page 32: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/32.jpg)
What do you think?
![Page 33: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/33.jpg)
![Page 34: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/34.jpg)
Contents● What is Python?● What can you do with Python?● Why should you learn Python?● How is Python used in the real world?● Which version? Python 2 or Python 3?● How to Start Programming in Python?
![Page 35: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/35.jpg)
Job request
![Page 36: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/36.jpg)
Python not 1st!
Job request
![Page 37: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/37.jpg)
It's popular
![Page 38: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/38.jpg)
It's popular
![Page 39: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/39.jpg)
Good salary
![Page 40: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/40.jpg)
TOP 10
![Page 41: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/41.jpg)
Contents● What is Python?● What can you do with Python?● Why should you learn Python?● How is Python used in the real world?● Which version? Python 2 or Python 3?● How to Start Programming in Python?
![Page 42: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/42.jpg)
Mmmmmmmhttps:/
/wi ki. python.org/moin /
OrganizationsUsingPython
![Page 43: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/43.jpg)
Mmmmmmmhttps:/
/wi ki. python.org/moin /
OrganizationsUsingPython
![Page 44: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/44.jpg)
Contents● What is Python?● What can you do with Python?● Why should you learn Python?● How is Python used in the real world?● Which version? Python 2 or Python 3?● How to Start Programming in Python?
![Page 45: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/45.jpg)
![Page 46: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/46.jpg)
2.7 3.3.3
![Page 47: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/47.jpg)
2.7 3.3.3
2to3.py3to2.py
![Page 48: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/48.jpg)
Contents● What is Python?● What can you do with Python?● Why should you learn Python?● How is Python used in the real world?● Which version? Python 2 or Python 3?● How to Start Programming in Python?
![Page 49: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/49.jpg)
Python Dochttp://www.python.org/doc/
![Page 50: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/50.jpg)
StackOverFlow
![Page 51: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/51.jpg)
![Page 52: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/52.jpg)
#IRC#python
![Page 53: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/53.jpg)
M.L
Pyiran Mailing list
![Page 54: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/54.jpg)
&Coming soon...
![Page 55: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/55.jpg)
Iranian Python Community
![Page 56: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/56.jpg)
apendix●A : Install●B: IDE●C: FrameWorks and etc!●D: simple Code
![Page 57: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/57.jpg)
Linux
![Page 58: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/58.jpg)
Linux
![Page 59: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/59.jpg)
Mac
![Page 60: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/60.jpg)
Mac
![Page 61: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/61.jpg)
Windowz
![Page 62: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/62.jpg)
Windowz
●Go to site
![Page 63: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/63.jpg)
Windowz
●Go to site●Download
![Page 64: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/64.jpg)
Windowz
●Go to site●Download●Install
![Page 65: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/65.jpg)
Windowz
●Go to site●Download●Install●Change path
![Page 66: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/66.jpg)
Windowz
●Go to site●Download●Install●Change path●Remove window$ :D
![Page 67: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/67.jpg)
apendix●A : Install●B: IDE●C: FrameWorks and etc!●D: simple Code
![Page 68: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/68.jpg)
● IDLE● Sublime Text● Emacs● Vim● Eclipse – Pydev – Aptana● Eric
IDE
![Page 69: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/69.jpg)
apendix●A : Install●B: IDE●C: FrameWorks and etc!●D: simple Code
![Page 70: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/70.jpg)
● Django● Pyramid● Bottle● Flask
Web
![Page 71: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/71.jpg)
● Django● Pyramid● Bottle● Flask
Web
https://
wiki.python.
org/moin
/WebFr
amework
s
![Page 72: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/72.jpg)
● Tkinter● PyQT● PyGTK● WxPython
Desktop
![Page 73: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/73.jpg)
● Tkinter● PyQT● PyGTK● WxPython
Desktop
http://docs
.python-
guide.org/e
n/late
st/scen
arios/gui/
![Page 74: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/74.jpg)
● kiwi● Qpython● ...
Android
![Page 75: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/75.jpg)
apendix●A : Install●B: IDE●C: FrameWorks and etc!●D: simple Code
![Page 76: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/76.jpg)
Alg – code!
![Page 77: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/77.jpg)
In Top 10 lang!
![Page 78: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/78.jpg)
C
![Page 79: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/79.jpg)
java
![Page 80: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/80.jpg)
Objectiv
e-C
![Page 81: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/81.jpg)
C++
![Page 82: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/82.jpg)
C#
![Page 83: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/83.jpg)
PHP
![Page 84: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/84.jpg)
Visual Ba
sic
![Page 85: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/85.jpg)
Python
![Page 86: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/86.jpg)
perl
![Page 87: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/87.jpg)
js
![Page 88: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/88.jpg)
http://en.wikipedia.org/wiki/List_of_Hello_world_program_examples
![Page 89: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/89.jpg)
-----BEGIN GEEK CODE BLOCK-----Version: 3.1GE/IT/P/SS d---(-)@?>--pu s--(): a- C++++(+++)$@>++ ULC++++(+++)@ P+() L+++(+++)$@>+++ !E--- !W+++(++)@>+ !N* !o K-- !w---? !O---? M-- !V- PS++(++)@>+ !PE Y? PGP++(++)@>+++ !t !5 !X R+ tv? b++++(+++) DI D+++@ G++@ e+++@ h++ r---?>$ !y--
------END GEEK CODE BLOCK------
![Page 90: Python (part 0)](https://reader033.vdocuments.mx/reader033/viewer/2022051108/5406ea4c8d7f72d8088b4860/html5/thumbnails/90.jpg)
Join us