随笔分类 -  python

摘要:1 # -*-coding:utf-8 -*- 2 # __author__ = 'GOY' 3 # consumer 4 5 flag = True 6 goods_list = [] 7 8 goods_list_file = open("goods_list_file.txt","r",encoding="utf-8") 9 for goods_index,goods... 阅读全文
posted @ 2019-08-12 12:55 小白的忧郁
摘要:# -*-coding:utf-8 -*- # Author:GOY #事先预留用于登录的用户名密码 username = "goy" password = "123" #用于登录的装饰器 def login(func): def wrapperd(*args,**kwargs): username = input("input username:").strip()... 阅读全文
posted @ 2019-08-11 13:26 小白的忧郁