day1/session1.tex
changeset 369 6691465a7f5a
parent 358 162e3e453920
child 370 b54a496d320c
equal deleted inserted replaced
361:a1ee950f3d6d 369:6691465a7f5a
   209 Exiting
   209 Exiting
   210 \begin{lstlisting}     
   210 \begin{lstlisting}     
   211   In []: ^D(Ctrl-D)
   211   In []: ^D(Ctrl-D)
   212   Do you really want to exit([y]/n)? y
   212   Do you really want to exit([y]/n)? y
   213 \end{lstlisting}
   213 \end{lstlisting}
       
   214 \alert{IPython is an improved interpreter}
       
   215 \alert{Recommended for use in Scientific Computing work}
       
   216 \end{frame}
       
   217 
       
   218 \begin{frame}[fragile]
       
   219 \frametitle{The Python interpreter \ldots}
       
   220 \begin{block}{}
       
   221 \begin{lstlisting}
       
   222   $ python
       
   223 \end{lstlisting} %$
       
   224 \end{block}
       
   225 \begin{lstlisting}     
       
   226   >>> print "Hello, World!"
       
   227   Hello, World!
       
   228 \end{lstlisting}
       
   229 Exiting
       
   230 \begin{lstlisting}     
       
   231   >>> ^D(Ctrl-D)
       
   232   $
       
   233 \end{lstlisting} %$
       
   234 \alert{Note the change in the prompt}
       
   235 \alert{IPython provides many additional features}
   214 \end{frame}
   236 \end{frame}
   215 
   237 
   216 %% \begin{frame}[fragile]
   238 %% \begin{frame}[fragile]
   217 %% \frametitle{Loops}
   239 %% \frametitle{Loops}
   218 %% Breaking out of loops
   240 %% Breaking out of loops