git_code's Introduction
origin Python练习册,每天一个小程序 第0000题:将你的qq头像或者(微博头像)右上角加上红色的数字,类似于微信未读信息的效果。 第0001题:作为Apple Store App 独立开发者,你要搞限时促销,为你的应用生成激活码,使用python如何生成200个激活码(或者优惠券)? 第0002题:将0001题生成的200个激活码(或者优惠券)保存到 MySql关系型数据库中。 第0004题:任一个英文的纯文本文件,统计其中的单词出现的个数。 第0005题:你有一个目录,装了很多照片,把它们的尺寸变成都不大于iPhone5分辨率的大小。 第0006题:你有一个目录,放了你一个月的日记,都是txt,为了避免分词的问题,假设内容都是英文。请统计出每篇日记中你认为最重要的词。 第0007题:有个目录,里面是你自己写过的程序,统计一下你写过多少行代码。包括代码和注释,但是要分别列出来。 第0008题:一个HTML文件,找出里面的正文。 第0009题:一个HTML文件,找出里面的链接。 第0010题:使用python生成字母验证码图片。 第0011题:敏感词文本文件filtered_words.txt,里面的内容为以下内容,当用户输入敏感词语时,则打印出Freedom,否则 打印出 Human Rights. 第0012题:敏感词文本文件 filered_words.txt,里面的内容和0011题一样,当用户输入敏感词语,则用 星号*替换,例如:当用户输入 北京是 个好城市,返回 **是个好城市。 第0013题:用Python写一个爬图片的程序,爬 http://tieba.baidu.com/p/2166231880 这个链接里的妹子. 第0014题:纯文本文件 student.txt为学生信息,里面的内容(包括花括号)如下所示: { '1':['张三',150,120,100], '2':['李四',90,99,95], '3':['王五',60,66,68] } 请将上述内容写到student.xls文件 第0015题:纯文本文件city.txt为城市信息,里面的内容(包括花括号) 如下所示: { "1" : "上海", "2" : "北京", "3" : "成都" } 请将上述内容写到city.xls文件中。 第0016题:纯文本文件numbers.txt里面的内容(包括方括号)如下所示: [ [1, 82, 65535], [20, 90, 13], [26, 809, 1024] ] 请将上述美容写到numbers.txt文件中 第0020题: 登陆**联通网上营业厅 后选择「自助服务」 --> 「详单查询」,然后选择你要查询的时间段,点击「查询」按 钮,查询结果页面的最下方,点击「导出」,就会生成类似于 2014年10月01日~2014年10月31日通话详单.xls 文件。写代码,对每月 通话时间做个统计。 第0021题:通常,登录某个网站或者APP,需要使用用户名和密码。密码是如何加密后存储起来的呢?请使用Python对密码加密。
git_code's People
Forkers
trellixvulnteamRecommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.