7 \frametitle{What is Python
}
8 \includegraphics[width=
\linewidth]{2.png
}
12 \frametitle{What is Python
}
22 \begin{frame
}[fragile
]
23 \frametitle{How to start
}
24 \framesubtitle{Interpreter
}
25 \begin{minted
}[breaklines
]{pycon
}
26 Python
3.5.1 (default, Dec
7 2015,
12:
58:
09)
28 Type "help", "copyright", "credits" or "license" for more
30 >>> print('Hello world!')
33 >>> print(str(i/
46) + ' hoi')
34 42.869565217391305 hoi
38 \begin{frame
}[fragile
]
39 \frametitle{How to start
}
40 \framesubtitle{Source files
}
41 \begin{minted
}{python
}
42 #!/usr/bin/env python3
43 # -*- coding: utf-
8 -*-
47 print(str(i/
46) + ' hoi')
52 \begin{frame
}[fragile
]
53 \frametitle{Basictypes
}
56 \item \mint{python
}|int|
57 \item \mint{python
}|float|
58 \item \mint{python
}|str|
59 \item \mint{python
}|list|
62 \begin{block
}{operators
}
64 \item Numbers:
\mintinline{python
}{+ - / * // \% @ **
}
65 \item Comparison:
\mintinline{python
}{< <= > >= == != is
}
66 \item Boolean:
\mintinline{python
}{and or not
}
67 \item Bitwise:
\mintinline{python
}{& | ^ ~ << >>
}
68 \item List:
\mintinline{python
}{[i
] [i:j
] in
}
69 \item In place:
\mintinline{python
}{*= += ...
}
74 \section{Control flow
}
75 \begin{frame
}[fragile
]
79 \section{Datastructures
}
81 \section{Input/Output
}
85 \section{Standard Library
}