How to save the value from zenity --file-selection --directory?
I want to write an application, and for this I need to use the zenity --file-selection --directory command to select the directory I need. When I want to save a value, then my variable is zero. I know that this is the correct operation of the program, but I need the value itself, not the execution status. Please help me.
path = os.system("zenity --file-selection --directory")