01 2018 档案

GitHub linux 提交文件及403错误处理
摘要:$git clone "Clone with HTTPS(自己生成的地址,如:https://github.com/******(用户名)/test.git)" 这时在你git第位置会有GitHub上有的项目名称, 创建文件 $touch test.txt 添加到git $git add . (. 阅读全文

posted @ 2018-01-24 16:18 蜗牛·哥 阅读(630) 评论(0) 推荐(0) 编辑

random模块写的验证码
摘要:import randomabc=''for i in range(4): a=random.randrange(0,4) if i != a: b=chr(random.randint(65,90)) else: b=str(random.randint(0,8)) abc += bprint(r 阅读全文

posted @ 2018-01-12 14:04 蜗牛·哥 阅读(184) 评论(0) 推荐(0) 编辑

python 装饰器(语法糖)
摘要:def login(func): def testlogin(): for i in range(3): _username="abc" _passwrod="123456" user_status = False iuput = input("请输入账号:") input1 = input("请输 阅读全文

posted @ 2018-01-09 14:47 蜗牛·哥 阅读(481) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示