Python45s - Session 01
-
Upload
al-sayed-gamal -
Category
Education
-
view
113 -
download
2
description
Transcript of Python45s - Session 01
Python 45 minutesAlSayed Gamal
About me
AlSayed Gamal Abdul-Azeem
CSE - Mansoura University
web, python, django, ruby, rails, PHP, and some mobile experience.
Twitter: @AlSayedGamal
Use the hashtag #python45s
AgendaInteractive Python
Types and Variables
Expressions
Types again
Functions
The land of hypocrisy
Interactive Python
Find Python
Find help
_
File a python code
Types
Strings
Integers
Floats
(3/4) vs.(3.0/4.0)
Expressions
Operators
Boolean evaluation
“You” are True ?
If, elif, else
Block structure
More TypesList
String (Again)
Tupels
Dictionaries
Sets
Co$ection Transitions
FunctionsDefinition
Argument Passing
Mutable Arguments and Binding of Default Values
Variable arguments
Unpacking arguments
Scope
The land of hypocrisy
Functions are first class citizens, you ?
Sorting the presenters on lie scale.
raw_input vs. input
result= sorted(list, cmp=<compare-function>)
Questions?
Thank you!