Please enable JavaScript.
Coggle requires JavaScript to display documents.
python (dictionaries (keys (view object), values #, items #), frozen…
python
runtime execution model
source
byte code
runtime (PVM - python Virtual Machine): interprets the bytecode
interpreter
frozen binaries
bytecode
pvm
Unix-style executable scripts
shebang (hash bang) #! + path to python interpreter
executable privileges
MODULE (every file with.py)
Modules
Attributes
dir()
dynamically typed
At runtime
strongly typed
list comprehension
Garbage collection
Reference count
Cycle detector
Tuple
Immutable
Parentheses can be omitted
operators
precedence rules
Mixed types
Converted up
Most complicated type
Sets
Immutable objects only: ex.not list/dictionaries
Shared reference
Extended slicing
string formatting
string formatting expression:
'...%s...; % ()values
string formatting method calls
'...{}...'.format(values)
dictionaries
keys
view
object
values
#
items
#