Q61. Which of the following are the attributes of file handle?
Q62. Write the output of the following:
>>> f = open("test.txt","w")
>>> f.closed
Q63. Write the output of the following:
>>> f = open("test.txt","w")
>>> f.mode
Q64. Write the output of the following:
>>> f = open("test.txt","w")
>>> f.name
Q65. Write the output of the following:
>>> f = open("test.txt","w")
>>> f.close()
>>> f.closed
Q66. Which of the following attribute of file handle returns Boolean value?
Q67. Ravi opened a file in python using open( ) function but forgot to specify the mode. In which mode the file will open?
Q68. Which of the following is invalid mode of opening file?
Q69. Which of the following mode will create a new file, if the file does not exist?
Q70. Which of the following mode will open the file in binary and read-only mode.