diff options
Diffstat (limited to 'day1/session1.tex')
-rw-r--r-- | day1/session1.tex | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/day1/session1.tex b/day1/session1.tex index eb2dbe2..270a205 100644 --- a/day1/session1.tex +++ b/day1/session1.tex @@ -211,6 +211,28 @@ Exiting In []: ^D(Ctrl-D) Do you really want to exit([y]/n)? y \end{lstlisting} +\alert{IPython is an improved interpreter} +\alert{Recommended for use in Scientific Computing work} +\end{frame} + +\begin{frame}[fragile] +\frametitle{The Python interpreter \ldots} +\begin{block}{} +\begin{lstlisting} + $ python +\end{lstlisting} %$ +\end{block} +\begin{lstlisting} + >>> print "Hello, World!" + Hello, World! +\end{lstlisting} +Exiting +\begin{lstlisting} + >>> ^D(Ctrl-D) + $ +\end{lstlisting} %$ +\alert{Note the change in the prompt} +\alert{IPython provides many additional features} \end{frame} %% \begin{frame}[fragile] |