FireGUI.py 文件源码

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

项目:firesave 作者: kactusken 项目源码 文件源码
def OpenSave():
    global f

    # Attempt to Extract the
    try:
        z = ZipFile(ent_SaveFile.get())
        DebugPrint(" + Successfully opened save file archive")
        x = z.extract('savedata', os.getcwd(), 'w#qjH_xaZ~Fm')
        DebugPrint(" + Successfully extracted save contents")
        f = open(x, 'r+b')
        DebugPrint(" + Successfully opened save file data")
        return 1

    except:
        f = None
        DebugPrint(" + Unable to open save file data")
        tkMessageBox.showerror("FireGUI Error", "Unable to open savedata.dat file")
        return 0

# Function to close the save file
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号