File Python Tutorial

f = open("test.txt", "rb")      
print f                                              
print f.mode                                        
print f.name