Created
March 20, 2018 03:45
-
-
Save jordanhudgens/54f8e74d97bc1464901c9c61fc7645d4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 datetime | |
from time import sleep | |
for i in range(100): | |
file_builder = open("logger.txt", "a+") | |
file_builder.write(f'{datetime.datetime.now()}\n') | |
file_builder.close() | |
sleep(2.0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment