diff options
Diffstat (limited to 'Web/test.py')
-rw-r--r-- | Web/test.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Web/test.py b/Web/test.py new file mode 100644 index 0000000..c6f871c --- /dev/null +++ b/Web/test.py @@ -0,0 +1,13 @@ +import time, os +from datetime import datetime + +now = datetime.now() +current_time = now.strftime("%H:%M:%S") +print("Current Time = " + current_time) + +f = open("Results/results.txt", "w+") +f.write("THIS IS RESULTS TEXT\n") +f.write("Current Time = " + current_time) +f.close() +print("Running test.py for ~ 5 seconds.") +time.sleep(5) |