What is the difference of using:
iFile = open("filename.txt",'r')
versus
with open("filename.txt",'r') as iFile:
Is one more efficient or allow more have more methods to access? It appears to me that the with-as statement is temporary and unreferences after the following block ends.