aboutsummaryrefslogtreecommitdiffstats
path: root/Web/PI/Uploads
diff options
context:
space:
mode:
authorDat Nguyen <nguy2854@umn.edu>2019-11-20 21:10:51 -0600
committerDat Nguyen <nguy2854@umn.edu>2019-11-20 21:10:51 -0600
commit8887dc5a9803969e23b24eb293711c1e32c374e5 (patch)
treebd287ae89568ef18f4fa05e604f94dc28148bcb1 /Web/PI/Uploads
parentRemove leftover files from a past merge. (diff)
downloadee4511w-8887dc5a9803969e23b24eb293711c1e32c374e5.tar
ee4511w-8887dc5a9803969e23b24eb293711c1e32c374e5.tar.gz
ee4511w-8887dc5a9803969e23b24eb293711c1e32c374e5.tar.bz2
ee4511w-8887dc5a9803969e23b24eb293711c1e32c374e5.tar.lz
ee4511w-8887dc5a9803969e23b24eb293711c1e32c374e5.tar.xz
ee4511w-8887dc5a9803969e23b24eb293711c1e32c374e5.tar.zst
ee4511w-8887dc5a9803969e23b24eb293711c1e32c374e5.zip
Web stuff semi working
Diffstat (limited to 'Web/PI/Uploads')
-rw-r--r--Web/PI/Uploads/upload.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/Web/PI/Uploads/upload.py b/Web/PI/Uploads/upload.py
new file mode 100644
index 0000000..9cbc73a
--- /dev/null
+++ b/Web/PI/Uploads/upload.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)