python (part 0)

90
py thon (p1) Presenter : Ramin Najjarbashi Email: ramin.najarbashi@ .com

Upload: ramin-najjarbashi

Post on 03-Sep-2014

307 views

Category:

Technology


1 download

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 Code

TRANSCRIPT

Page 1: Python (part 0)

python(p1)

Presenter : Ramin NajjarbashiEmail: ramin.najarbashi@ .com

Page 2: Python (part 0)
Page 3: Python (part 0)

Who am I?

Page 4: Python (part 0)

Who am I?

● Farhamg.Name● Robocup Server 2D● GNegar● BadTag● BlueWay● UMS● Xbuilder● ...

Page 5: Python (part 0)

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)

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)

history

● Guido van Rossum

Page 8: Python (part 0)

historyMonty Python

Page 9: Python (part 0)

philosophy

Page 10: Python (part 0)

FeaturesPython Software Foundation License

Page 11: Python (part 0)

FeaturesFaaaaaaaaaaaaaaaasT

Page 12: Python (part 0)

FeaturesFaaaaaaaaaaaaaaaasT

CHECK‌‌‌pypy

Page 13: Python (part 0)

FeaturesFaaaaaaaaaaaaaaaasT

CHECK‌‌‌Cpython

Page 14: Python (part 0)

FeaturesTools & tools & other tools, still other tools, tools, tools

Page 15: Python (part 0)

Features

Page 16: Python (part 0)

Features

Page 17: Python (part 0)

Hello World

Page 18: Python (part 0)

FeaturesReadable!

Page 19: Python (part 0)

FeaturesMultiple programming paradigms

Page 20: Python (part 0)

Features

General-purpose

Page 21: Python (part 0)

Featureshigh-level programming language

Page 22: Python (part 0)

FeaturesInterpreters

Page 23: Python (part 0)

FeaturesScripting

Page 24: Python (part 0)

Python family– Python– Cpython– Jython– IronPython

Page 25: Python (part 0)

Python family– Python– Cpython– Jython– IronPython

Python in your

language : C,

java, C#

Page 26: Python (part 0)

Python family– Python– Cpython– Jython– IronPython

Python in your

language : C,

java, C#

And etc … Assembly!!!

Page 27: Python (part 0)

Cat Dog

Page 28: Python (part 0)

Cat Dog

Page 29: Python (part 0)

Cat Dog

Page 30: Python (part 0)

Features(multi) ** ∞ platform

Page 31: Python (part 0)

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)

What do you think?

Page 33: Python (part 0)
Page 34: Python (part 0)

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)

Job request

Page 36: Python (part 0)

Python not 1st!

Job request

Page 37: Python (part 0)

It's popular

Page 38: Python (part 0)

It's popular

Page 39: Python (part 0)

Good salary

Page 40: Python (part 0)

TOP 10

Page 41: Python (part 0)

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)

Mmmmmmmhttps:/

/wi ki. python.org/moin /

OrganizationsUsingPython

Page 43: Python (part 0)

Mmmmmmmhttps:/

/wi ki. python.org/moin /

OrganizationsUsingPython

Page 44: Python (part 0)

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)
Page 46: Python (part 0)

2.7 3.3.3

Page 47: Python (part 0)

2.7 3.3.3

2to3.py3to2.py

Page 48: Python (part 0)

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)

Python Dochttp://www.python.org/doc/

Page 50: Python (part 0)

StackOverFlow

Page 51: Python (part 0)

Google

Page 52: Python (part 0)

#IRC#python

Page 53: Python (part 0)

M.L

Pyiran Mailing list

Page 54: Python (part 0)

&Coming soon...

Page 55: Python (part 0)

Iranian Python Community

Page 56: Python (part 0)

apendix●A : Install●B: IDE●C: FrameWorks and etc!●D: simple Code

Page 57: Python (part 0)

Linux

Page 58: Python (part 0)

Linux

Page 59: Python (part 0)

Mac

Page 60: Python (part 0)

Mac

Page 61: Python (part 0)

Windowz

Page 62: Python (part 0)

Windowz

●Go to site

Page 63: Python (part 0)

Windowz

●Go to site●Download

Page 64: Python (part 0)

Windowz

●Go to site●Download●Install

Page 65: Python (part 0)

Windowz

●Go to site●Download●Install●Change path

Page 66: Python (part 0)

Windowz

●Go to site●Download●Install●Change path●Remove window$ :D

Page 67: Python (part 0)

apendix●A : Install●B: IDE●C: FrameWorks and etc!●D: simple Code

Page 68: Python (part 0)

● IDLE● Sublime Text● Emacs● Vim● Eclipse – Pydev – Aptana● Eric

IDE

Page 69: Python (part 0)

apendix●A : Install●B: IDE●C: FrameWorks and etc!●D: simple Code

Page 70: Python (part 0)

● Django● Pyramid● Bottle● Flask

Web

Page 71: Python (part 0)

● Django● Pyramid● Bottle● Flask

Web

https://

wiki.python.

org/moin

/WebFr

amework

s

Page 72: Python (part 0)

● Tkinter● PyQT● PyGTK● WxPython

Desktop

Page 73: Python (part 0)

● Tkinter● PyQT● PyGTK● WxPython

Desktop

http://docs

.python-

guide.org/e

n/late

st/scen

arios/gui/

Page 74: Python (part 0)

● kiwi● Qpython● ...

Android

Page 75: Python (part 0)

apendix●A : Install●B: IDE●C: FrameWorks and etc!●D: simple Code

Page 76: Python (part 0)

Alg – code!

Page 77: Python (part 0)

In Top 10 lang!

Page 78: Python (part 0)

C

Page 79: Python (part 0)

java

Page 80: Python (part 0)

Objectiv

e-C

Page 81: Python (part 0)

C++

Page 82: Python (part 0)

C#

Page 83: Python (part 0)

PHP

Page 84: Python (part 0)

Visual Ba

sic

Page 85: Python (part 0)

Python

Page 86: Python (part 0)

perl

Page 87: Python (part 0)

js

Page 88: Python (part 0)

http://en.wikipedia.org/wiki/List_of_Hello_world_program_examples

Page 89: Python (part 0)

-----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)

Join us