摘要: import pickledef register(): close = input("退出请按Q\q:") if close.upper() == "Q": return else: dic = {} user_name = input('请输入注册的用户名:') user_password = 阅读全文
posted @ 2020-02-03 15:32 冰灬荷 阅读(199) 评论(0) 推荐(0) 编辑
摘要: import osdef copy(path1, path2): filename = os.path.basename(path1) if os.path.isdir(path2) and os.path.isfile(path1): path2 = os.path.join(path2, fil 阅读全文
posted @ 2020-02-03 12:00 冰灬荷 阅读(176) 评论(0) 推荐(0) 编辑
摘要: import osdef func(path): if os.path.isfile(path): if path.endswith(".py"): os.system("python %s" % path) elif os.path.isdir(path): list_num = os.listd 阅读全文
posted @ 2020-02-03 11:04 冰灬荷 阅读(129) 评论(0) 推荐(0) 编辑