summaryrefslogtreecommitdiff
path: root/day1/session1.tex
diff options
context:
space:
mode:
Diffstat (limited to 'day1/session1.tex')
-rw-r--r--day1/session1.tex22
1 files changed, 22 insertions, 0 deletions
diff --git a/day1/session1.tex b/day1/session1.tex
index 426b9e8..edd3670 100644
--- a/day1/session1.tex
+++ b/day1/session1.tex
@@ -216,6 +216,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}
\section{Loops}