2

可以用 PySimpleGUI 一次选择多个折叠路径吗?

import PySimpleGUI as sg
layout = [          
    [sg.Text('choose multiple folders and print at the console', size=(35, 1))],      
    [sg.Text('Your Folders', size=(15, 1), auto_size_text=False, justification='right'),      
        sg.InputText('Default Folder'), sg.FolderBrowse()],      
    [sg.Submit(tooltip='Click to submit this window'), sg.Cancel()]    
]      

event = sg.Window("select multiple folders by pressing CTRL +folder").Layout(layout).Read() 
4

0 回答 0