spe2fitsGUI.py 文件源码

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

项目:spe2fits 作者: jerryjiahaha 项目源码 文件源码
def addListenDir(self):
        listenDirPath = filedialog.askdirectory(
                parent = self,
                title = "Auto convert (listen) .spe under this directory",
                initialdir = self.listenDirPath.get(),
                )
        if not self.checkDir(listenDirPath, autocreate = False, poperror = False):
            return
        print("listen:", listenDirPath)
        if os.path.abspath(listenDirPath) != self.listenDirPath.get():
            self.listenDirPath.set(os.path.abspath(listenDirPath))
            self.checkListenTask()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号