Created
February 16, 2018 20:00
-
-
Save tmerr/cc2a08370c07afe2952405627ae94bc7 to your computer and use it in GitHub Desktop.
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
import time | |
i = 0 | |
while True: | |
i += 1 | |
with open('/tmp/thing', 'a') as f: | |
f.write('hello {}\n'.format(i)) | |
time.sleep(0.5); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment