This commit is contained in:
dengrb1 2023-04-27 22:22:00 +08:00 committed by GitHub
parent c875ba5e11
commit f21377b3f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,7 @@
from tkinter import *
from tkinter import messagebox, ttk
from tkinter import messagebox
import platform
import os
import webbrowser
root = Tk()
@ -21,7 +20,7 @@ def windows_run():
def Not_windows_run():
if os.path.exists('{ml}\system_command.exe'):
os.system('.\{ml}\Not\system_command.pyw')
os.system('python {ml}/Not/system_command.pyw')
else:
messagebox.showerror('system', file_error)
pass