From 1e802af85e9ab09d67138c29ba42b25d830df171 Mon Sep 17 00:00:00 2001 From: Santosh G. Vattam Date: Thu, 21 Jan 2010 15:39:26 +0530 Subject: Minor edits to new session. --- day1/tot.tex | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/day1/tot.tex b/day1/tot.tex index 1c74426..b61949e 100644 --- a/day1/tot.tex +++ b/day1/tot.tex @@ -210,7 +210,7 @@ Breaking out of loops KeyboardInterrupt \end{lstlisting} -\emphbar{\alert{Indentation: Notice the 4 spaces after\\} \typ{while True:}} +\emphbar{\alert{Indentation: Notice the 4 spaces before\\} \typ{print "Hello, World!"}} \end{frame} \section{Saving Commands} @@ -241,9 +241,11 @@ Breaking out of loops \begin{frame}[fragile] \frametitle{Scite - How to \ldots} \begin{itemize} - \item Opening a file - \item Saving a file - \item Exiting the editor + \item Opening scite - run scite from command line + \item Type the contents + \item Saving the file with a filename \alert{File $\rightarrow$ Save as} + \item Exiting the editor \alert{File $\rightarrow$ Exit} + \item To open an existing file: \alert{File $\rightarrow$ Open} \end{itemize} \end{frame} @@ -253,8 +255,8 @@ Breaking out of loops \begin{itemize} \item Starting up IPython \item Loops - Indentation and breaking out of loops - \item \kwrd{\%hist} - \item Saving commands to a script + \item \kwrd{\%hist} - History of commands + \item \kwrd{\%save} - Saving commands \end{itemize} \end{frame} -- cgit