diff options
Diffstat (limited to 'day1/Session-4.tex')
-rwxr-xr-x | day1/Session-4.tex | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/day1/Session-4.tex b/day1/Session-4.tex index f14bdb8..e447b00 100755 --- a/day1/Session-4.tex +++ b/day1/Session-4.tex @@ -2,7 +2,7 @@ % Tutorial slides on Python. % % Author: Prabhu Ramachandran <prabhu at aero.iitb.ac.in> -% Copyright (c) 2005-2008, Prabhu Ramachandran +% Copyright (c) 2005-2009, Prabhu Ramachandran %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \documentclass[14pt,compress]{beamer} @@ -73,9 +73,9 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Title page -\title[Basic Python]{Python:\\A great programming toolkit} +\title[Basic Python]{Python:\\Advanced Python data structures, Functions and Debugging} -\author[Asokan \& Prabhu] {Asokan Pichai\\Prabhu Ramachandran} +\author[FOSSEE Team] {Asokan Pichai\\Prabhu Ramachandran} \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay} \date[] {10, October 2009} @@ -134,6 +134,7 @@ \item \typ{d.keys()} returns a list \item can we have duplicate keys? \end{itemize} + \inctime{5} \end{frame} \begin{frame} {Problem Set 2.1} @@ -143,7 +144,7 @@ \item[2.1.3] Find the most used Python keywords in your Python code (import keyword). \end{description} -\inctime{20} +\inctime{10} \end{frame} \subsection{Set} @@ -183,6 +184,7 @@ False >>> len(f10) 5 \end{lstlisting} +\inctime{5} \end{frame} @@ -192,7 +194,7 @@ False \item[2.2.1] Given a dictionary of the names of students and their marks, identify how many duplicate marks are there? and what are these? \item[2.2.2] Given a string of the form ``4-7, 9, 12, 15'' find the numbers missing in this list for a given range. \end{description} -\inctime{15} +\inctime{10} \end{frame} \subsection{Functions Reloaded!} @@ -284,7 +286,7 @@ Why is it interesting?\\ \typ{map, reduce, filter}\\ list comprehension\\ generators - \inctime{10} + \inctime{15} \end{frame} \subsection{Debugging} @@ -323,7 +325,7 @@ or modulo by zero \item Process: Hypothesis, test, refine, rinse-repeat \item Using \typ{\%debug} and \typ{\%pdb} in IPython \end{itemize} - \inctime{10} + \inctime{15} \end{frame} \begin{frame}[fragile] |