preprocessor_controller.py 文件源码

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

项目:Visualization 作者: nwrush 项目源码 文件源码
def _warn_existing_output_dir(self, path):
        path = os.path.abspath(path)
        reply = QMessageBox.question(self, "Reuse previous data",
                                     "Intermediate files were found at\n{0}\nDo you want to reuse them?".format(path),
                                     QMessageBox.Yes | QMessageBox.No, QMessageBox.No)
        reuse = int(reply) == QMessageBox.Yes
        if not reuse:
            shutil.rmtree(path)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号