使用PySimpleGui加载多个文件夹

时间:2019-08-07 09:08:18

标签: python-3.x pysimplegui

是否有一行可以使用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() 

0 个答案:

没有答案