随笔分类 - python零散知识
摘要:Python有哪些关键字 -Python常用的关键字 and, del, from, not, while, as, elif, global, or, with, assert, else, if, pass, yield, break, except, import, print, class,
阅读全文
摘要:一、需求 1. 用户加密认证 (完成)2. 允许同时多用户登录 (完成)3. 每个用户有自己的家目录 ,且只能访问自己的家目录(完成)4. 对用户进行磁盘配额,每个用户的可用空间不同(完成)5. 允许用户在ftp server上随意切换目录cd(完成)6. 允许用户查看当前目录下文件ls(完成)7.
阅读全文
摘要:def judgePasswordStrength(password): strengthLength = max(0, len(password) - 5) from string import ascii_lowercase, ascii_uppercase, digits, punctuation flags = [bool(set(password) & set(...
阅读全文