venture of iit bombay vjti alumni print "errorcan\' find file or read dataif you do not have permission to open the file in writing modethen this will produce the following result errorcan' find file or read data same example can be written more cleanly as follows #!/usr/bin/python tryfh open("testfile"" "tryfh write("this is my test file for exception handling!!"