Python 2.7 : Write to file instantly

后端 未结 4 1548
粉色の甜心
粉色の甜心 2020-11-27 05:03

I realized that when I write into a file using python it wait until the end of my Python file to execute it:

outputFile = open(\"./outputFile.txt\",\"a\")
ou         


        
4条回答
提交回复
热议问题