flying-wyf

2017年4月19日

python编程快速上手之第9章实践项目参考答案(9.8.3)

摘要: 勉强实现了,不是很满意。需要要手动循环,不知有高人可以指教否? 阅读全文

posted @ 2017-04-19 00:30 flying-wyf 阅读(161) 评论(3) 推荐(0)

2017年4月16日

python编程快速上手之第9章实践项目参考答案(9.8.2)

摘要: 不敢随便乱删,所以只做了查找,要删除就很简单了。 阅读全文

posted @ 2017-04-16 14:33 flying-wyf 阅读(195) 评论(0) 推荐(0)

python编程快速上手之第9章实践项目参考答案(9.8.1)

摘要: import os,shutilnewfolder='C:\\delicious\\test'sourcefolder='C:\\delicious'os.chdir(sourcefolder)for folderName, subfolders, filenames in os.walk(sour 阅读全文

posted @ 2017-04-16 11:07 flying-wyf 阅读(172) 评论(1) 推荐(0)

2017年4月13日

python编程快速上手之第8章实践项目参考答案(8.9.3)

摘要: import os,sys,re# 打开文件key = input('Enter the key word:\n')path = "C:\\Users\\Administrator\\Python35-32\\test"#替换为自己的文件路径for f in os.listdir(path): if 阅读全文

posted @ 2017-04-13 00:36 flying-wyf 阅读(162) 评论(2) 推荐(0)

2017年4月12日

python编程快速上手之第8章实践项目参考答案(8.9.2)

摘要: b='The ADJECTIVE panda walked to the NOUN and then VERB. A nearby NOUN was unaffected by these events.'import rekeyword=['ADJECTIVE','NOUN','VERB','NO 阅读全文

posted @ 2017-04-12 22:30 flying-wyf 阅读(135) 评论(3) 推荐(0)

导航