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 | 9e4e34016387576d189f48833d1fc2c45e8ffd47 (patch) | |
tree | 4dc06e5fba3fe2b0cb9afa193eea7f822811c346 /day1/session2.tex | |
parent | 450d8667c9796b474f334bb2f9aa21b4f81074fd (diff) | |
parent | ebe7c77cfaf0f63de4162f94b3ae6f5ceca4bd10 (diff) | |
download | workshops-9e4e34016387576d189f48833d1fc2c45e8ffd47.tar.gz workshops-9e4e34016387576d189f48833d1fc2c45e8ffd47.tar.bz2 workshops-9e4e34016387576d189f48833d1fc2c45e8ffd47.zip |
Merged Madhu and Mainline branches.
Diffstat (limited to 'day1/session2.tex')
-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 |