摘要: 题目传送口:https://github.com/Yixiaohan/show-me-the-code 第 0011 题: 敏感词文本文件 filtered_words.txt,里面的内容为以下内容,当用户输入敏感词语时,则打印出 Freedom,否则打印出 Human Rights。 第 0012 阅读全文
posted @ 2020-01-21 09:29 12没有3 阅读(533) 评论(0) 推荐(0) 编辑
摘要: 题目传送口:https://github.com/Yixiaohan/show-me-the-code 第 0010 题: 使用 Python 生成类似于下图中的字母验证码图片 思路:使用PIL来生成背景,文字,干扰线。通过ImageFilter来对图像进行平滑、锐化、边界增强等滤波处理。 代码如下 阅读全文
posted @ 2020-01-17 09:36 12没有3 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 题目传送口:https://github.com/Yixiaohan/show-me-the-code 第 0001 题: 做为 Apple Store App 独立开发者,你要搞限时促销,为你的应用生成激活码(或者优惠券),使用 Python 如何生成 200 个激活码(或者优惠券)? 附加:将生 阅读全文
posted @ 2020-01-15 09:17 12没有3 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 题目传送口:https://github.com/Yixiaohan/show-me-the-code 第 0000 题: 将你的 QQ 头像(或者微博头像)右上角加上红色的数字,类似于微信未读信息数量那种提示效果。 类似于图中效果 制作该图片涉及到PIL库,代码如下: #!/usr/bin/env 阅读全文
posted @ 2020-01-14 09:24 12没有3 阅读(206) 评论(0) 推荐(0) 编辑
摘要: dāng dāng dāng dǎng 第一天来这里 随便记录一下啦 阅读全文
posted @ 2020-01-12 21:36 12没有3 阅读(62) 评论(0) 推荐(0) 编辑