Professional Documents
Culture Documents
Python College
Python College
introductie
Wat is programmeren?
2
Wat is een programmeur?
3
Wat is Python
Google
Youtube
Dropbox
Netflix
Battlefield 2
Civilization IV
Python 2 vs Python 3
Virtuele omgeving
Meerdere omgevingen
sudoapt-get install python-virtualenv (linux)
https://www.liquidweb.com/kb/how-to-setup-a-python-virtual-environment-on-windows-
10/ (windows)
Run Python
Names en Namespaces
Scopes
Objects en Classes
Names en Namespaces
Local
Enclosing
Global
Built-in
Objects en Classes
Object
Properties Methods
Color Kruipen
Length Zwemmen
Weight Bijten
Geboortedatum Wurgen
Giftig? Slapen
Programming conventions
common conventions
Naming
Comment
Indent style
Reduction of complexity
Refactoring
Pauze
15 minutes
Built-inDataTypes
Objects
Mutable/immutable
Numbers
Sequences
Set types
Mapping types (dictionaries)
Collections
Enums
Objects
Integers
Booleans
Real numbers
Complex numbers
Fractions en Decimals
Integers
True or false
1 of 0
Combineren met “And”, “Or” en “Not”
Real Numbers
science
Breuken en Decimalen
Introductie
Data Types
Beroepsproduct
Vragen
?
?
?
Agenda
Strings
Bytes
Tuples
String
List
Byte array
List
gebruik []
List()
Byte Array
Set Types
frozenset
Mapping types-Dictionaries
namedtuple
defaultdict
chainmap
Enums
Conditional programming
Looping
Conditional programming
If
Else
Elif
45
Looping
For
iterating
While
46
Functions, the building blocks of code
47