made the file download the libaries
This commit is contained in:
@@ -0,0 +1 @@
|
||||
key.key
|
||||
@@ -1,8 +1,28 @@
|
||||
from cryptography.fernet import Fernet
|
||||
import customtkinter as ctk
|
||||
|
||||
|
||||
import json
|
||||
import os
|
||||
import pyperclip
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
try:
|
||||
import customtkinter as ctk
|
||||
except ImportError:
|
||||
subprocess.check_call([sys.executable, "-m", "pip", "install", "customtkinter"])
|
||||
import customtkinter as ctk
|
||||
|
||||
try:
|
||||
from cryptography.fernet import Fernet
|
||||
except ImportError:
|
||||
subprocess.check_call([sys.executable, "-m", "pip", "install", "cryptography"])
|
||||
from cryptography.fernet import Fernet
|
||||
|
||||
try:
|
||||
import pyperclip
|
||||
except ImportError:
|
||||
subprocess.check_call([sys.executable, "-m", "pip", "install", "pyperclip"])
|
||||
import pyperclip
|
||||
|
||||
ctk.set_appearance_mode("Dark")
|
||||
app = ctk.CTk()
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user