摘要: 输入密码时,如果想要不可见,需要利用getpass 模块中的 getpass方法,即: ps:在pycharm未验证成功。 注意: input接受的数据额都是字符串类型,即使输入的是数字,也会被当做字符串处理。 可以通过 int() 来转化为数字类型 阅读全文
posted @ 2018-02-07 14:23 皮蛋小顽童 阅读(265) 评论(0) 推荐(0) 编辑
摘要: python解释器在加载 .py 文件中的代码时,会对内容进行编码(默认ascill) ASCII(American Standard Code for Information Interchange,美国标准信息交换代码)是基于拉丁字母的一套电脑编码系统,主要用于显示现代英语和其他西欧语言,其最多 阅读全文
posted @ 2018-02-07 02:51 皮蛋小顽童 阅读(171) 评论(0) 推荐(0) 编辑
摘要: Variables are used to store information to be referenced and manipulated in a computer program. They also provide a way of labeling data with a descri 阅读全文
posted @ 2018-02-07 02:36 皮蛋小顽童 阅读(92) 评论(0) 推荐(0) 编辑