equal
deleted
inserted
replaced
222 \end{lstlisting} |
222 \end{lstlisting} |
223 \emphbar{\alert{Indentation: Notice the 4 spaces before\\} \typ{print "Hello, World!"}\\ |
223 \emphbar{\alert{Indentation: Notice the 4 spaces before\\} \typ{print "Hello, World!"}\\ |
224 Hit the ``ENTER'' key twice to return to the previous indentation level} |
224 Hit the ``ENTER'' key twice to return to the previous indentation level} |
225 \end{frame} |
225 \end{frame} |
226 |
226 |
227 \section{Tab completion} |
227 \section{Tab Completion} |
228 \begin{frame}[fragile] |
228 \begin{frame}[fragile] |
229 \frametitle{Tab completion} |
229 \frametitle{Tab Completion} |
230 Type \typ{pri} and hit the Tab key |
230 Type \typ{pri} and hit the Tab key |
231 \begin{lstlisting} |
231 \begin{lstlisting} |
232 In []: pri <Tab> |
232 In []: pri <Tab> |
233 In []: print |
233 In []: print |
234 \end{lstlisting} |
234 \end{lstlisting} |
237 In []: whi <Tab> |
237 In []: whi <Tab> |
238 In []: while |
238 In []: while |
239 \end{lstlisting} |
239 \end{lstlisting} |
240 \end{frame} |
240 \end{frame} |
241 |
241 |
242 \section{Tab Suggestion} |
242 \section{Tab Suggestions} |
243 \begin{frame}[fragile] |
243 \begin{frame}[fragile] |
244 \frametitle{Tab suggestion} |
244 \frametitle{Tab Suggestions} |
245 |
245 \begin{lstlisting} |
|
246 In []: a = 'Hello world' |
|
247 |
|
248 In []: a.<Tab> |
|
249 \end{lstlisting} |
|
250 \ldots |
246 \end{frame} |
251 \end{frame} |
247 |
252 |
248 \section{Saving Commands} |
253 \section{Saving Commands} |
249 \begin{frame}[fragile] |
254 \begin{frame}[fragile] |
250 \frametitle{History and Saving of Commands} |
255 \frametitle{History and Saving of Commands} |
273 \begin{frame}[fragile] |
278 \begin{frame}[fragile] |
274 \frametitle{Scite - How to \ldots} |
279 \frametitle{Scite - How to \ldots} |
275 \begin{itemize} |
280 \begin{itemize} |
276 \item Opening scite |
281 \item Opening scite |
277 \begin{itemize} |
282 \begin{itemize} |
278 \item GNU/Linux: Applications $\rightarrow$ Programming $\rightarrow$ SciTE Text Editor |
283 \item GNU/Linux: \alert{Applications} $\rightarrow$ \alert{Programming} $\rightarrow$ \alert{SciTE Text Editor} |
279 \item Windows: Double click on Desktop icon |
284 \item Windows: Double click on the \alert{SciTE} Desktop icon |
280 \end{itemize} |
285 \end{itemize} |
281 \item Type the contents |
286 \item Type the contents |
282 \item Saving the file with a filename \alert{File $\rightarrow$ Save as} |
287 \item Saving the file with a filename \alert{File $\rightarrow$ Save as} |
|
288 \item Saving the file \alert{File $\rightarrow$ Save} |
283 \item Exiting the editor \alert{File $\rightarrow$ Exit} |
289 \item Exiting the editor \alert{File $\rightarrow$ Exit} |
284 \item To open an existing file: \alert{File $\rightarrow$ Open} |
290 \item To open an existing file: \alert{File $\rightarrow$ Open} |
285 \end{itemize} |
291 \end{itemize} |
286 \end{frame} |
292 \end{frame} |
287 |
293 |
291 \begin{itemize} |
297 \begin{itemize} |
292 \item Starting up IPython |
298 \item Starting up IPython |
293 \item Loops - Indentation and breaking out of loops |
299 \item Loops - Indentation and breaking out of loops |
294 \item \kwrd{\%hist} - History of commands |
300 \item \kwrd{\%hist} - History of commands |
295 \item \kwrd{\%save} - Saving commands |
301 \item \kwrd{\%save} - Saving commands |
|
302 \item Using SciTE |
296 \end{itemize} |
303 \end{itemize} |
297 \end{frame} |
304 \end{frame} |
298 |
305 |
299 \end{document} |
306 \end{document} |