New course! Every coder should learn Generative AI!
Try a free lesson0
What does flush method do?The output for this code?
fo = open("too.text", "wb") print "Name of the file:", fo.name fo.flush() fo.close()
1 Answer
fo = open("too.text", "wb") print "Name of the file:", fo.name fo.flush() fo.close()