Message387909
"""In Python 3.9, the following code can be run after commenting sleep, otherwise the file will always be empty"""
import time
file=open("data.txt","a+")
while True:
time.sleep(0.00001)
file.write("test\n")
print("add over") |
|
Date |
User |
Action |
Args |
2021-03-02 10:51:05 | minaki_2525 | set | recipients:
+ minaki_2525 |
2021-03-02 10:51:05 | minaki_2525 | set | messageid: <1614682265.1.0.879800153503.issue43365@roundup.psfhosted.org> |
2021-03-02 10:51:05 | minaki_2525 | link | issue43365 messages |
2021-03-02 10:51:05 | minaki_2525 | create | |
|