day1/session1.tex
changeset 374 0ba81871dae5
parent 373 f04eca8b2f3d
parent 370 b54a496d320c
child 377 40ba8a026ccb
equal deleted inserted replaced
373:f04eca8b2f3d 374:0ba81871dae5
   214 Exiting
   214 Exiting
   215 \begin{lstlisting}
   215 \begin{lstlisting}
   216   In []: ^D(Ctrl-D)
   216   In []: ^D(Ctrl-D)
   217   Do you really want to exit([y]/n)? y
   217   Do you really want to exit([y]/n)? y
   218 \end{lstlisting}
   218 \end{lstlisting}
       
   219 \alert{IPython is an improved interpreter}\\
       
   220 \alert{Recommended for use in Scientific Computing work}\\
       
   221 \end{frame}
       
   222 
       
   223 \begin{frame}[fragile]
       
   224 \frametitle{The Python interpreter \ldots}
       
   225 \begin{block}{}
       
   226 \begin{lstlisting}
       
   227   $ python
       
   228 \end{lstlisting} %$
       
   229 \end{block}
       
   230 \begin{lstlisting}     
       
   231   >>> print "Hello, World!"
       
   232   Hello, World!
       
   233 \end{lstlisting}
       
   234 Exiting
       
   235 \begin{lstlisting}     
       
   236   >>> ^D(Ctrl-D)
       
   237   $
       
   238 \end{lstlisting} %$
       
   239 \alert{Note the change in the prompt}\\
       
   240 \alert{IPython provides many additional features}\\
   219 \end{frame}
   241 \end{frame}
   220 
   242 
   221 \section{Loops}
   243 \section{Loops}
   222 \begin{frame}[fragile]
   244 \begin{frame}[fragile]
   223 \frametitle{Loops}
   245 \frametitle{Loops}