Cursos
Fazer loginComeçar a aprender IA
Cursos
Fazer loginComeçar a aprender IA
0

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()

python
18th Mar 2018, 4:17 PM
HBhZ_C
HBhZ_C - avatar
1 Resposta
+ 6
Check out this. https://stackoverflow.com/questions/7127075/what-exactly-the-pythons-file-flush-is-doing
18th Mar 2018, 4:40 PM
ƒred
ƒred - avatar

Costuma ter perguntas como essa?

Aprenda de maneira mais eficiente, de graça:

  • Introdução ao Python

    7.1M de alunos

  • Introdução ao Java

    4.7M de alunos

  • Introdução ao C

    1.5M alunos

  • Introdução ao HTML

    7.5M alunos

Ver todos os cursos
Quente hoje
Audio adding
1 Votes
What is problem in this code
0 Votes
Stuck in Quize
1 Votes
playground input
0 Votes
C Program
0 Votes
This Program Does Something Weird. Can You Explain Why?
1 Votes
Software developer
0 Votes
Asking for final year project ideas!
1 Votes
How does JavaScript's event loop handle asynchronous operations like setTimeout, Promises, and async/await, and what are the dif
1 Votes
есть кто на русском разговаривает?
0 Votes