2012年12月13日

摘要: 原文来自newsmth python版#coding=utf-8#找到当前目录前MACX(default:25)位占用空间最大的文件-多线程import os,os.pathfrom ConfigParser import RawConfigParser as rcpfrom threading i... 阅读全文
posted @ 2012-12-13 13:25 js.yeyong 阅读(230) 评论(0) 推荐(0) 编辑
摘要: http://www.pythonchallenge.com/pc/def/equality.htmlok 完全摸不到头脑, 看来又得看hint了, 小休息的时候用这个放松头脑挺不错的 阅读全文
posted @ 2012-12-13 11:21 js.yeyong 阅读(91) 评论(0) 推荐(0) 编辑
摘要: http://www.pythonchallenge.com/pc/def/ocr.html答案在source code里找, 一大段莫名代码还好一开始有提示 "find rare characters in the mess below"我歪打正着, 就找里面的 字母字符j=''for i in ... 阅读全文
posted @ 2012-12-13 11:08 js.yeyong 阅读(167) 评论(0) 推荐(0) 编辑
摘要: http://www.pythonchallenge.com/pc/def/map.html看图说明 一开始以为是 遇到指定的字母,就作相应替换这个好办, for 一下, 找到就替但是出来的还是不认识后来发现不是, 是每个字母都向后两位 即 a->c b->d 之类, 知道规律就好办了还好知道一点点... 阅读全文
posted @ 2012-12-13 11:02 js.yeyong 阅读(163) 评论(0) 推荐(0) 编辑
摘要: pythonchallenge是一个网页解迷游戏http://www.pythonchallenge.com/pc/def/0.htmllevel0 , warm up看hint, 知道2*38 是得到url的关键于是for循环, range, 代码简单,找个网上看的例子def mypow1(a,n... 阅读全文
posted @ 2012-12-13 10:41 js.yeyong 阅读(129) 评论(0) 推荐(0) 编辑

导航