venture of iit bombay vjti alumni file mode returns access mode with which file was opened file name returns name of the file file softspace returns false if space explicitly required with printtrue otherwise example #!/usr/bin/python open file fo open("foo txt""wb"print "name of the file"fo name