day1/Session-3.vrb
changeset 52 fccb3551c7d5
parent 46 63704b5650f1
--- a/day1/Session-3.vrb	Wed Oct 07 00:50:06 2009 +0530
+++ b/day1/Session-3.vrb	Wed Oct 07 15:12:17 2009 +0530
@@ -1,8 +1,14 @@
-\frametitle {Code Layout}
-  \begin{itemize}
-        \item Indentation
-        \item Tabs or Spaces??
-        \item Maximum Line Length
-        \item Blank Lines
-        \item Encodings
-   \end{itemize}
+\frametitle {Why are they useful?}
+  \small
+  \begin{lstlisting}
+for element in (1, 2, 3):
+    print element
+for key in {'one':1, 'two':2}:
+    print key
+for char in "123":
+    print char
+for line in open("myfile.txt"):
+    print line
+for line in urllib2.urlopen('http://site.com'):
+    print line
+  \end{lstlisting}