MD5_Hash.py 文件源码

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

项目:py3_project 作者: tjy-cool 项目源码 文件源码
def save_file(self, event):
        '''??????????? '''
        wildcard = "Text Files (*.txt)|*.txt|" "All files (*.*)|*.*"
        dlg = wx.FileDialog(None, u"???????",
                            os.getcwd(),
                            defaultFile="",
                            style=wx.FD_SAVE,  # |wx.FD_OVERWRITE_PROMPT
                            wildcard=wildcard
                            )
        if dlg.ShowModal() == wx.ID_OK:
            filename = dlg.GetPath()
            with open(filename, 'w', encoding='utf-8') as f:
                f.write(self.t1.GetValue())     # ??????????????
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号