diff options
Diffstat (limited to 'day2/session1.tex')
-rw-r--r-- | day2/session1.tex | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/day2/session1.tex b/day2/session1.tex index 5885994..b733b88 100644 --- a/day2/session1.tex +++ b/day2/session1.tex @@ -79,7 +79,7 @@ \author[FOSSEE Team] {The FOSSEE Group} \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay} -\date[] {12 January, 2010\\Day 2, Session 1} +\date[] {13 February, 2010\\Day 2, Session 3} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %\pgfdeclareimage[height=0.75cm]{iitmlogo}{iitmlogo} @@ -255,6 +255,7 @@ Out[]: 'hello world' \begin{frame}[fragile] \frametitle{A bit about IPython} + Recall, we showed a few features of IPython, here is one more: \begin{itemize} \item IPython provides better help \item object.function? @@ -262,10 +263,6 @@ Out[]: 'hello world' In []: a = 'Hello World' In []: a.lower? \end{lstlisting} - \item It provides tab completion - \begin{lstlisting} -In []: a.s<Tab> - \end{lstlisting} \end{itemize} \end{frame} @@ -278,6 +275,9 @@ In []: a.s<Tab> \begin{lstlisting} In []: ''.join(['a', 'b', 'c']) Out[]: 'abc' + +In []: ', '.join(['a', 'b', 'c']) +Out[]: 'a, b, c' \end{lstlisting} \end{frame} @@ -511,7 +511,7 @@ Hello World \subsection{Basic Conditional flow} \begin{frame}[fragile] \frametitle{\typ{If...elif...else} example} -Type out the code below in an editor. +Type the following code in an editor \& save as \alert{ladder.py} \small \begin{lstlisting} x = int(raw_input("Enter an integer:")) |