commit fed05b9193cf639737b08c8a47771ae37676a648
parent 2b267f4bf65ba06fb51cee9cec31b2588a97c7a8
Author: therealFIGBERT <figbertwelner@gmail.com>
Date: Tue, 30 Jul 2019 12:40:29 -0700
Programming the test file
Diffstat:
1 file changed, 22 insertions(+), 0 deletions(-)
diff --git a/Test/test.py b/Test/test.py
@@ -0,0 +1,21 @@
+import os
+import requests
+import subprocess
+import tkinter as tk
+
+def update_script():
+ subprocess.run(
+ [
+ "svn",
+ "checkout",
+ "https://github.com/therealFIGBERT/figENC/trunk/Test/test.py"
+ ],
+ shell=False
+ )
+
+#This line is only on GitHub
+root = tk.Tk()
+root.wm_title("GitHub")
+button = tk.Button(root, text="Update", command=update_script)
+button.pack()
+root.mainloop()
+\ No newline at end of file