Hecker Asked:2022-06-14 02:37:50 +0000 UTC2022-06-14 02:37:50 +0000 UTC 2022-06-14 02:37:50 +0000 UTC Python 简易图形界面 | 如何删除类型所有文件? 772 我使用 Easygui 模块来选择文件。 fileopenbox 函数有效,但选择设置为所有文件。如何删除它? python 1 个回答 Voted Best Answer Сергей 2022-06-14T02:43:47Z2022-06-14T02:43:47Z 在 fileopenbox 调用中,显式定义默认值。默认情况下,这只是当前目录中的所有文件。 easygui.fileopenbox(msg=None, title=None, default='*', filetypes=None, multiple=False) https://easygui.readthedocs.io/en/latest/api.html
在 fileopenbox 调用中,显式定义默认值。默认情况下,这只是当前目录中的所有文件。
https://easygui.readthedocs.io/en/latest/api.html