summaryrefslogtreecommitdiff
path: root/day1/Session-4.tex
diff options
context:
space:
mode:
authorSantosh G. Vattam2009-10-07 00:50:06 +0530
committerSantosh G. Vattam2009-10-07 00:50:06 +0530
commit4dbbd19a657d5cbbcf0ebba608bca82721fb1757 (patch)
treec7efb44b363bf1e7f80e56ef9d87a7dc03ae2f68 /day1/Session-4.tex
parent3fda7cdd27a8503200b81a8066811adead5d9935 (diff)
parentab1d4c5c7f81e26ad3e63f562b30ff2758cb2fa6 (diff)
downloadworkshops-4dbbd19a657d5cbbcf0ebba608bca82721fb1757.tar.gz
workshops-4dbbd19a657d5cbbcf0ebba608bca82721fb1757.tar.bz2
workshops-4dbbd19a657d5cbbcf0ebba608bca82721fb1757.zip
Merged branches from Madhusudan C.S.
Diffstat (limited to 'day1/Session-4.tex')
-rwxr-xr-xday1/Session-4.tex16
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]