Mega Code Archive
Categories
/
Python Tutorial
/
File
Opening a File and check its mode
f = open("test.txt", "rb") print f print f.mode print f.name