Top Banner
Python 45 minutes AlSayed Gamal
11

Python45s - Session 01

May 19, 2015

Download

Education

Al Sayed Gamal

Series of technical hangout from Mansoura GDG with love
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: Python45s - Session 01

Python 45 minutesAlSayed Gamal

Page 2: Python45s - Session 01

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

Page 3: Python45s - Session 01

AgendaInteractive Python

Types and Variables

Expressions

Types again

Functions

The land of hypocrisy

Page 4: Python45s - Session 01

Interactive Python

Find Python

Find help

_

File a python code

Page 5: Python45s - Session 01

Types

Strings

Integers

Floats

(3/4) vs.(3.0/4.0)

Page 6: Python45s - Session 01

Expressions

Operators

Boolean evaluation

“You” are True ?

If, elif, else

Block structure

Page 7: Python45s - Session 01

More TypesList

String (Again)

Tupels

Dictionaries

Sets

Co$ection Transitions

Page 8: Python45s - Session 01

FunctionsDefinition

Argument Passing

Mutable Arguments and Binding of Default Values

Variable arguments

Unpacking arguments

Scope

Page 9: Python45s - Session 01

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

Page 10: Python45s - Session 01

Questions?

Page 11: Python45s - Session 01

Thank you!