Как я могу обращаться с файлом, когда клиент импортирует локальный файл как переменную и использует его позже?
def getFile():
return filedialog.askopenfilename()
from operation.encryption import getFile
button_encrypt = tk.Button(layoutframe, text="Encrypt", fg="green", command=getFile)
Подробнее здесь: https://stackoverflow.com/questions/798 ... enfilename
Мобильная версия