How many file objects would you need to create to manage the following situations
Improve Article Show Save Article A file object allows us to use, access and manipulate all the user accessible files. One can read and write any such files.
Related Article : Reference: https://docs.python.org/2.4/lib/bltin-file-objects.html Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above. How many file object would you need to create to manage the following situations?3 file objects we need to create.
What are file objects used for?A file object allows us to use, access and manipulate all the user accessible files. One can read and write any such files. When a file operation fails for an I/O-related reason, the exception IOError is raised.
What are the file object attributes in python?The file Object Attributes. What are different file object modes?Python File Modes. |