Feature Request:希望file_browser.path()默认是返回文件列表 #10010
WalkCharlie
started this conversation in
Ideas
Replies: 2 comments 1 reply
|
暂时这样操作的 paths = [info.path.as_posix() for info in file_browser.value]files = file_browser.path() if files.is_dir(): mo.sql( |
0 replies
|
hi @WalkCharlie can you explain the feature request a bit more? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
file_browser = mo.ui.file_browser(
initial_path=DB_ROOT,
filetypes=[".csv"],
selection_mode='all',
multiple=True,
restrict_navigation=True,
label="Select Files",
)
file_browser
这样可以实现paths = [info.path for info in file_browser.value]功能,但不自然
All reactions