This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from werkzeug.posixemulation import rename | |
from threading import Thread | |
from time import sleep | |
filename = 'test_file.dat' | |
running = True | |
def create_file(): | |
new_file = 'test_file.tmp' | |
with open(new_file, 'w') as f: |