Home / MCQ Bank / Computer
Computer Files Handling In Python Difficulty: Medium

What will be the output of the following Python code? fo = open("foo.txt", "wb") print "Name of the file: ", fo.name fo.flush() fo.close()

Select the correct option to test your answer:

More Computer Questions

Which among the following attempts to read up to count bytes into buffer starting at buffer[offset], returning the number of bytes successfully read? What will be the output of the following PHP code? <?php $x; if ($x) print "hi" ; else print "how are u" ; ?> What scales the background image as large as possible? Which of the following method performs poorly when elements are accessed in sequential order? What is a thread in the context of multithreading?