diff --git a/pyAmakIHM/launcher/launch.py b/pyAmakIHM/launcher/launch.py new file mode 100644 index 0000000000000000000000000000000000000000..a8daca5afcf298694bc033d8de8d2a23ed928eb7 --- /dev/null +++ b/pyAmakIHM/launcher/launch.py @@ -0,0 +1,13 @@ +from os import system +from tkinter.filedialog import askopenfilename +from tkinter import Tk + + +root = Tk() +root.withdraw() +file = askopenfilename(filetypes =[('Python Files', '*.py')]) + +if file != '': + system('python3 ' + file) +else: + print('Please select a valid file')