Pref.py 文件源码

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

项目:SpatialTool 作者: JRcard 项目源码 文件源码
def chooseSessionFile(self, e):
        wildcard = "Save file (*.txt)|*.txt|"        \
           "All files (*.*)|*.*"
        dlg = wx.FileDialog(self, message="Open configuration ...", defaultDir=os.getcwd(), 
            defaultFile="", wildcard=wildcard, style=wx.OPEN)
        if dlg.ShowModal() == wx.ID_OK:
            self.path.SetValue(dlg.GetPath())
        dlg.Destroy()
        self.FitInside()  

    # Cette fonction permet aux préférences de se mettre à jour même si on ne les a pas changées dans la fenêtre de configuration initiale.
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号