随笔分类 -  python零散知识

摘要:Python有哪些关键字 -Python常用的关键字 and, del, from, not, while, as, elif, global, or, with, assert, else, if, pass, yield, break, except, import, print, class, 阅读全文
posted @ 2018-09-14 15:51 想做土匪的书生 阅读(1830) 评论(0) 推荐(0) 编辑
摘要:一、需求 1. 用户加密认证 (完成)2. 允许同时多用户登录 (完成)3. 每个用户有自己的家目录 ,且只能访问自己的家目录(完成)4. 对用户进行磁盘配额,每个用户的可用空间不同(完成)5. 允许用户在ftp server上随意切换目录cd(完成)6. 允许用户查看当前目录下文件ls(完成)7. 阅读全文
posted @ 2017-01-23 15:56 想做土匪的书生 阅读(726) 评论(0) 推荐(0) 编辑
摘要:def judgePasswordStrength(password): strengthLength = max(0, len(password) - 5) from string import ascii_lowercase, ascii_uppercase, digits, punctuation flags = [bool(set(password) & set(... 阅读全文
posted @ 2016-11-18 12:45 想做土匪的书生 阅读(280) 评论(0) 推荐(0) 编辑

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