--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/day1/exercise/readmarks.py Thu Oct 08 18:59:47 2009 +0530
@@ -0,0 +1,5 @@
+f = open('/home/madhu/Desktop/marks.dat')
+
+for line in f:
+ fields = line.split(';')
+ print "Name: %s, Total Marks: %s" % (fields[2].strip(), fields[8].strip())