ostools.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:zeex 作者: zbarge 项目源码 文件源码
def zipfile_unzip(file_path=None, extract_dir=None, **filedialog_kwargs):
    if file_path is None:
        file_path = QtGui.QFileDialog.getOpenFileName(**filedialog_kwargs)[0]
    if extract_dir is None:
        extract_dir = os.path.dirname(file_path)
    shutil.unpack_archive(file_path, extract_dir=extract_dir)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号