diff options
author | Madhusudan.C.S | 2009-10-27 15:35:08 +0530 |
---|---|---|
committer | Madhusudan.C.S | 2009-10-27 15:35:08 +0530 |
commit | 54df8715206d4dcf5d61647d34877a12b2f40499 (patch) | |
tree | 4dc06e5fba3fe2b0cb9afa193eea7f822811c346 /day1 | |
parent | 7bc53742b0e472fcefe211a328caf5b221e353a8 (diff) | |
parent | 3f9859b31e22b2892619d2660e57ca1727032d45 (diff) | |
download | workshops-more-scipy-54df8715206d4dcf5d61647d34877a12b2f40499.tar.gz workshops-more-scipy-54df8715206d4dcf5d61647d34877a12b2f40499.tar.bz2 workshops-more-scipy-54df8715206d4dcf5d61647d34877a12b2f40499.zip |
Merged Madhu and Mainline branches.
Diffstat (limited to 'day1')
-rw-r--r-- | day1/session2.tex | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/day1/session2.tex b/day1/session2.tex index b11b3c1..9fccbd1 100644 --- a/day1/session2.tex +++ b/day1/session2.tex @@ -135,7 +135,7 @@ \begin{frame} \frametitle{But its impractical..} \begin{itemize} - \item We can't keep running the IPython shell for days + \item We can't keep running IPython for days \item And its a pain to go back and edit \end{itemize} And the solution is..\\ @@ -233,6 +233,9 @@ Out[]: 7 \begin{frame}[fragile] \frametitle{List: Slicing} + \begin{block}{Remember\ldots} + In []: lst = [1,2,3,4,5] + \end{block} \alert{\typ{list[initial:final:step]}} \begin{lstlisting} In []: lst[1:3] # A slice. @@ -244,7 +247,7 @@ Out[]: [2, 3] \end{frame} \begin{frame}[fragile] - \frametitle{List concatenation and list methods} + \frametitle{List operations} \begin{lstlisting} In []: anthrlst = [6,7,8,9] In []: lnglst = lst + anthrlst |