How can I treat a file when the client imports a local file as a variable and using it later?
def getFile():
return filedialog.askopenfilename()
from operation.encryption import getFile
button_encrypt = tk.Button(layoutframe, text="Encrypt", fg="green", command=getFile)