def AskReplace():
if tkMessageBox.askyesno("Replace save file?",
"Do you want to replace your existing save file?\nBackup of original will be created.") == True:
replace_path = "%s_%d" % (ent_SaveFile.get(), int(time.time()))
os.rename(ent_SaveFile.get(), replace_path)
DebugPrint(" + Backed up save file to %s" % (replace_path))
os.rename(ent_OutputFile.get(), ent_SaveFile.get())
DebugPrint(" + Replace old save file with new save file")
# Function to alphabetize wrestler list
评论列表
文章目录