venture of iit bombay vjti alumni example let' take file foo txtwhich we created above #!/usr/bin/python open file fo open("foo txt"" +"str fo read( )print "read string is "str close opend file fo close(this produces the following result read string is python is file positions