equal
deleted
inserted
replaced
208 Hello, World!^C(Ctrl-C) |
208 Hello, World!^C(Ctrl-C) |
209 ------------------------------------ |
209 ------------------------------------ |
210 KeyboardInterrupt |
210 KeyboardInterrupt |
211 |
211 |
212 \end{lstlisting} |
212 \end{lstlisting} |
213 \emphbar{\alert{Indentation: Notice the 4 spaces after\\} \typ{while True:}} |
213 \emphbar{\alert{Indentation: Notice the 4 spaces before\\} \typ{print "Hello, World!"}} |
214 \end{frame} |
214 \end{frame} |
215 |
215 |
216 \section{Saving Commands} |
216 \section{Saving Commands} |
217 \begin{frame}[fragile] |
217 \begin{frame}[fragile] |
218 \frametitle{History and Saving of Commands} |
218 \frametitle{History and Saving of Commands} |
239 |
239 |
240 \section{Scite - How to} |
240 \section{Scite - How to} |
241 \begin{frame}[fragile] |
241 \begin{frame}[fragile] |
242 \frametitle{Scite - How to \ldots} |
242 \frametitle{Scite - How to \ldots} |
243 \begin{itemize} |
243 \begin{itemize} |
244 \item Opening a file |
244 \item Opening scite - run scite from command line |
245 \item Saving a file |
245 \item Type the contents |
246 \item Exiting the editor |
246 \item Saving the file with a filename \alert{File $\rightarrow$ Save as} |
|
247 \item Exiting the editor \alert{File $\rightarrow$ Exit} |
|
248 \item To open an existing file: \alert{File $\rightarrow$ Open} |
247 \end{itemize} |
249 \end{itemize} |
248 \end{frame} |
250 \end{frame} |
249 |
251 |
250 \section{Summary} |
252 \section{Summary} |
251 \begin{frame}[fragile] |
253 \begin{frame}[fragile] |
252 \frametitle{What did we learn?} |
254 \frametitle{What did we learn?} |
253 \begin{itemize} |
255 \begin{itemize} |
254 \item Starting up IPython |
256 \item Starting up IPython |
255 \item Loops - Indentation and breaking out of loops |
257 \item Loops - Indentation and breaking out of loops |
256 \item \kwrd{\%hist} |
258 \item \kwrd{\%hist} - History of commands |
257 \item Saving commands to a script |
259 \item \kwrd{\%save} - Saving commands |
258 \end{itemize} |
260 \end{itemize} |
259 \end{frame} |
261 \end{frame} |
260 |
262 |
261 \end{document} |
263 \end{document} |