figenc

[RADIOACTIVE] rsa and symmetric key encryption scripts and executables
git clone git://git.figbert.com/figenc.git
Log | Files | Refs | README

commit adcccdb29caca6f2286fd7fe993d0685e5572480
parent d827103712e67490c22175b2c665f447895d8342
Author: therealFIGBERT <figbertwelner@gmail.com>
Date:   Tue, 30 Jul 2019 13:10:41 -0700

Removing failed test files

Diffstat:
DTest/.svn/entries | 1-
DTest/.svn/format | 1-
DTest/.svn/pristine/1f/1f4c9994adb418eb37bc28f20d34c6371f32b08e.svn-base | 22----------------------
DTest/.svn/wc.db | 0
DTest/.svn/wc.db-journal | 0
DTest/test.py | 29-----------------------------
6 files changed, 0 insertions(+), 53 deletions(-)

diff --git a/Test/.svn/entries b/Test/.svn/entries @@ -1 +0,0 @@ -12 diff --git a/Test/.svn/format b/Test/.svn/format @@ -1 +0,0 @@ -12 diff --git a/Test/.svn/pristine/1f/1f4c9994adb418eb37bc28f20d34c6371f32b08e.svn-base b/Test/.svn/pristine/1f/1f4c9994adb418eb37bc28f20d34c6371f32b08e.svn-base @@ -1,21 +0,0 @@ -import os -import requests -import subprocess -import tkinter as tk - -def update_script(): - subprocess.run( - [ - "svn", - "checkout", - "https://github.com/therealFIGBERT/figENC/trunk/Test" - ], - 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 diff --git a/Test/.svn/wc.db b/Test/.svn/wc.db Binary files differ. diff --git a/Test/.svn/wc.db-journal b/Test/.svn/wc.db-journal diff --git a/Test/test.py b/Test/test.py @@ -1,28 +0,0 @@ -import os -import requests -import inspect -import tkinter as tk - -def find_path(file): - """Return the correct filename if you are running it as a script""" - return os.path.dirname( - os.path.abspath( - inspect.getfile( - inspect.currentframe() - ) - ) - ) + "/{}".format(file) - -def update_script(): - git_data = requests.get("https://raw.githubusercontent.com/therealFIGBERT/figENC/master/Test/test.py").text - print("File read") - with open(find_path("test.py")) as write: - write.write(git_data) - print("File written") - -#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