day1/Session-1.tex
changeset 24 95fdc10975d5
parent 5 838cedef5e9d
child 42 3e554af428a4
--- a/day1/Session-1.tex	Sat Oct 03 00:41:12 2009 +0530
+++ b/day1/Session-1.tex	Sun Oct 04 17:03:10 2009 +0530
@@ -150,17 +150,26 @@
 \section{Agenda}
 \begin{frame}{About the Workshop}
   \begin{block}{Goal of the workshop}
-	At the end of this program, successful participants will be able to use python as their scripting and problem solving language. Aimed at Engg. students--focus on basic numerics and plotting-- but should serve a similar purpose for others. 
+	Successful participants will be able to use python as their scripting and problem solving language. 
+  \end{block}
+  \begin{block}{Workshop Audience}
+        Aimed at Engg., Mathematics and Science teachers  but should serve a similar purpose for others. 
+  \end{block}
+  \begin{block}{Focus of the workshop}
+        Focus on basic numerics and plotting
   \end{block}
 \end{frame}
 
 \begin{frame}{Checklist}
-  Let us verify that all of us are having the same (similar) tools and environment
-  \begin{description}
-	\item[python] Type python at the command line. Do you see version 2.5 or later?
-	\item[IPython] Is IPython available?
-	\item[Editor] Which editor? scite, vim, emacs, \ldots
-  \end{description}
+	\begin{block}{python}
+          Type python at the command line. Do you see version 2.5 or later?
+        \end{block}
+        \begin{block}{IPython}
+          Is IPython available?
+        \end{block}
+        \begin{block}{Editor}
+          Which editor? scite, vim, emacs, \ldots
+        \end{block}
 \end{frame}
 
 \section{Overview}
@@ -183,12 +192,12 @@
   \frametitle{Introduction}
   \begin{itemize}
   \item Creator and BDFL: Guido van Rossum
-  \item Conceived in December 1989
+  \item December 1989
   \item ``Python'' as in Monty Python's Flying Circus
-  \item Current stable version of Python is 2.6.x
+  \item 2.6.x
   \item PSF license (like BSD: no strings attached)
   \item Highly cross platform
-  \item Runs on the Nokia series 60!
+  \item Nokia series 60!
   \item \alert{Philosophy:} Simple and complete by design
   \end{itemize}
 \end{frame}
@@ -211,7 +220,7 @@
 \begin{frame}
   \frametitle{Why Python?}
   \begin{itemize}
-  \item Designed to be readable and easy to use
+  \item Readable and easy to use
   \item High level, interpreted, modular, OO
   \item Much faster development cycle
   \item Powerful interactive environment
@@ -252,7 +261,7 @@
 \end{frame}
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% TIME: 15 m, running 15m
+% TIME: 10 m, running 10m
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \section{Python}
@@ -357,16 +366,16 @@
 \end{frame}
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% TIME: 15 m, running 30m
+% TIME: 10 m, running 20m
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \subsection{Data types}
 \begin{frame}
   \frametitle{Basic types}
   \begin{itemize}
-    \item numbers: float, int, long, complex
-    \item strings
-    \item boolean
+    \item Numbers: float, int, long, complex
+    \item Strings
+    \item Boolean
   \end{itemize}
   \begin{block}{Also to be discussed later}
     tuples, lists, dictionaries, functions, objects\ldots
@@ -410,6 +419,10 @@
   \end{block}
 \end{frame}
 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% TIME: 10 m, running 30m
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
 \begin{frame}[fragile]
   \frametitle{Relational and logical operators}
   \begin{lstlisting}
@@ -591,7 +604,7 @@
 \begin{frame}{Simple IO}
   \begin{block}
     {Console Input}
-    \texttt{raw\_input(}) waits for user input.\\Prompt string is optional.\\
+    \texttt{raw\_input()} waits for user input.\\Prompt string is optional.\\
     All keystrokes are Strings!\\\texttt{int()} converts string to int.
   \end{block}
   \begin{block}