guimain.py 文件源码

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

项目:Python_SelfLearning 作者: fukuit 项目源码 文件源码
def exec_process(self):
        if os.path.exists(self.dirname):
            try:
                QApplication.setOverrideCursor(Qt.WaitCursor)
                self.fileList.setup(self.dirname, '.py')
                maxCnt = self.fileList.length
                self.pbar.setValue(0)
                self.pbar.setMinimum(0)
                self.pbar.setMaximum(maxCnt)
                self.fileList.start()
            except Exception as e:
                self.print_log(str(e))
            finally:
                QApplication.restoreOverrideCursor()
        else:
            self.print_log('{0} is not exists'.format(self.dirname))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号