day1/session1.tex
changeset 384 9f9fddf7e37c
parent 382 41c34770d63a
child 385 c70118cdde66
equal deleted inserted replaced
383:26294a5b856b 384:9f9fddf7e37c
   123 %% \end{frame}
   123 %% \end{frame}
   124 
   124 
   125 \begin{frame}
   125 \begin{frame}
   126   \frametitle{Workshop Schedule: Day 1}
   126   \frametitle{Workshop Schedule: Day 1}
   127   \begin{description}
   127   \begin{description}
   128 	\item[Session 1] Mon 09:00--10:00
   128 	\item[Session 1] Fri 09:00--10:00
   129 	\item[Session 2] Mon 10:05--11:05
   129 	\item[Session 2] Fri 10:05--11:05
   130 	\item[Session 3] Mon 11:20--12:20
   130 	\item[Session 3] Fri 11:20--12:20
   131         \item[Session 4] Mon 12:25--13:25
   131         \item[Session 4] Fri 12:25--13:25
   132         \item[Quiz 1] Mon 14:25--14:45
   132         \item[Quiz 1] Fri 14:25--14:45
   133         \item[Exercises] Mon 14:45--15:30
   133         \item[Exercises] Fri 14:45--15:30
   134         \item[Session 5] Mon 15:45--16:45
   134         \item[Session 5] Fri 15:45--16:45
   135         \item[Quiz 2] Mon 16:50--17:05
   135         \item[Quiz 2] Fri 16:50--17:05
   136   \end{description}
   136   \end{description}
   137 \end{frame}
   137 \end{frame}
   138 
   138 
   139 \begin{frame}
   139 \begin{frame}
   140   \frametitle{Workshop Schedule: Day 2}
   140   \frametitle{Workshop Schedule: Day 2}
   141   \begin{description}
   141   \begin{description}
   142 	\item[Session 1] Tue 09:00--10:00
   142 	\item[Session 1] Sat 09:00--10:00
   143 	\item[Session 2] Tue 10:05--11:05
   143 	\item[Session 2] Sat 10:05--11:05
   144 	\item[Session 3] Tue 11:20--12:20
   144 	\item[Session 3] Sat 11:20--12:20
   145         \item[Session 4] Tue 12:25--13:25
   145         \item[Session 4] Sat 12:25--13:25
   146         \item[Quiz 1] Tue 14:25--14:45
   146         \item[Quiz 1] Sat 14:25--14:45
   147         \item[Exercises] Tue 14:45--15:30
   147         \item[Exercises] Sat 14:45--15:30
   148         \item[Session 5] Tue 15:45--16:45
   148         \item[Session 5] Sat 15:45--16:45
   149   \end{description}
   149   \end{description}
   150 \end{frame}
   150 \end{frame}
   151 
   151 
   152 \section{Checklist}
   152 \section{Checklist}
   153 \begin{frame}
   153 \begin{frame}
   192       \item Train students for the same.
   192       \item Train students for the same.
   193     \end{itemize}
   193     \end{itemize}
   194   \end{block}
   194   \end{block}
   195 \end{frame}
   195 \end{frame}
   196 
   196 
   197 \begin{frame}[fragile]
   197 %% \begin{frame}[fragile]
   198 \frametitle{The Python interpreter \ldots}
   198 %% \frametitle{The Python interpreter \ldots}
   199 \begin{block}{}
   199 %% \begin{block}{}
   200 \begin{lstlisting}
   200 %% \begin{lstlisting}
   201   $ python
   201 %%   $ python
   202 \end{lstlisting} %$
   202 %% \end{lstlisting} %$
   203 \end{block}
   203 %% \end{block}
   204 \begin{lstlisting}     
   204 %% \begin{lstlisting}     
   205   >>> print "Hello, World!"
   205 %%   >>> print "Hello, World!"
   206   Hello, World!
   206 %%   Hello, World!
   207 \end{lstlisting}
   207 %% \end{lstlisting}
   208 Exiting
   208 %% Exiting
   209 \begin{lstlisting}     
   209 %% \begin{lstlisting}     
   210   >>> ^D(Ctrl-D)
   210 %%   >>> ^D(Ctrl-D)
   211   $
   211 %%   $
   212 \end{lstlisting} %$
   212 %% \end{lstlisting} %$
   213 \end{frame}
   213 %% \end{frame}
   214 
   214 
   215 \section{Starting up Ipython}
   215 \section{Starting up Ipython}
   216 \begin{frame}[fragile]
   216 \begin{frame}[fragile]
   217 \frametitle{Starting up \ldots}
   217 \frametitle{Starting up \ldots}
   218 \begin{block}{}
   218 \begin{block}{}
   219 \begin{lstlisting}
   219 \begin{lstlisting}
   220   $ ipython
   220   $ ipython -pylab
   221 \end{lstlisting} %$
   221 \end{lstlisting} %$
   222 \end{block}
   222 \end{block}
   223 \begin{lstlisting}     
   223 \begin{lstlisting}     
   224   In []: print "Hello, World!"
   224   In []: print "Hello, World!"
   225   Hello, World!
   225   Hello, World!
   230   Do you really want to exit([y]/n)? y
   230   Do you really want to exit([y]/n)? y
   231 \end{lstlisting}
   231 \end{lstlisting}
   232 An alternative to IPython is bpython
   232 An alternative to IPython is bpython
   233 \end{frame}
   233 \end{frame}
   234 
   234 
   235 \section{Ipython with magic}
   235 %% \section{Ipython with magic}
   236 \begin{frame}[fragile]
   236 %% \begin{frame}[fragile]
   237 \frametitle{Let the magic begin \ldots}
   237 %% \frametitle{Let the magic begin \ldots}
   238 \begin{itemize}
   238 %% \begin{itemize}
   239 \item \alert{IPython is an improved interpreter}\\
   239 %% \item \alert{IPython is an improved interpreter}\\
   240 \item \alert{Recommended for Scientific and Computing work}\\
   240 %% \item \alert{Recommended for Scientific and Computing work}\\
   241 \end{itemize}
   241 %% \end{itemize}
   242 \begin{block}{}
   242 %% \begin{block}{}
   243 \begin{lstlisting}
   243 %% \begin{lstlisting}
   244   $ ipython -pylab  
   244 %%   $ ipython -pylab  
   245 \end{lstlisting} %$
   245 %% \end{lstlisting} %$
   246 \end{block}
   246 %% \end{block}
   247 \end{frame}
   247 %% \end{frame}
   248 
   248 
   249 \section{Loops}
   249 \section{Loops}
   250 \begin{frame}[fragile]
   250 \begin{frame}[fragile]
   251 \frametitle{Loops}
   251 \frametitle{Loops}
   252 Breaking out of loops
   252 Breaking out of loops