街角_祝福

导航

上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页

2012年8月15日 #

windows文件隐藏方法

摘要: 翻译+整理: By Bigworm 不当之处请指正这篇文章是根据H. Carvey的The Dark Side of NTFS (Microsoft’s Scarlet Letter)翻译的,可以自由转载,但请保持译者和来源以及文章的完整性. 简介:微软的平台不断在增加.公司用的服务器和桌面操作系... 阅读全文

posted @ 2012-08-15 22:35 街角_祝福 阅读(333) 评论(0) 推荐(0) 编辑

Problem 8--找连续的五个数的最大乘积

摘要: Question:import refrom operator import mula = '7316717653133062491922511967442657474235534919493496983520312774506326239578318016984801869478851843858... 阅读全文

posted @ 2012-08-15 16:50 街角_祝福 阅读(206) 评论(0) 推荐(0) 编辑

2012年8月14日 #

Fibonacci sequence

摘要: #################################################################################Question: ... 阅读全文

posted @ 2012-08-14 15:50 街角_祝福 阅读(148) 评论(0) 推荐(0) 编辑

2012年8月13日 #

pythonchallenge--10

摘要: a = '1'for i in xrange(30): pos = 0 tmp = '' str_len = len(a) while pos < str_len: count = 1 while pos+1<str_len and a[pos] ... 阅读全文

posted @ 2012-08-13 10:21 街角_祝福 阅读(137) 评论(0) 推荐(0) 编辑

pythonchallenge--9

摘要: 题目链接:http://www.pythonchallenge.com/pc/return/good.htmlimport Image,ImageDrawim = Image.new('RGB', (500,500))draw = ImageDraw.Draw(im)first=[146,399,1... 阅读全文

posted @ 2012-08-13 09:56 街角_祝福 阅读(126) 评论(0) 推荐(0) 编辑

pythonchallenge--8

摘要: 题目:http://www.pythonchallenge.com/pc/def/integrity.html点击蜜蜂发现可以分登录,而网页源码中恰好有两行,像是加密了的用户名和密码,又发现字符串的前缀是bz2的,所以用bz2解压试试,结果不小心就出来了。import bz2un = 'BZh91A... 阅读全文

posted @ 2012-08-13 09:39 街角_祝福 阅读(146) 评论(0) 推荐(0) 编辑

pythonchallenge--7

摘要: import Imageim = Image.open('oxygen.png')print ('image information:',im.format,im.size,im.mode)y_begin = 0while True: p = im.getpixel((0,y_begin)) i... 阅读全文

posted @ 2012-08-13 08:56 街角_祝福 阅读(147) 评论(0) 推荐(0) 编辑

2012年8月12日 #

pythonchallenge--5

摘要: 题目:http://www.pythonchallenge.com/pc/def/peak.html看到这个题目,标题"peak hell",下面写着"pronounce it",而且网页源码提示说这个“是不是很熟悉?”,我就在着急这个标题能读出个啥东西出来,由于python学的时间短,英语也不是很... 阅读全文

posted @ 2012-08-12 20:57 街角_祝福 阅读(121) 评论(0) 推荐(0) 编辑

pythonchallenge--4

摘要: 先贴代码吧。from urllib import *import reimport ossrc = urlopen(r'http://www.pythonchallenge.com/pc/def/linkedlist.php?nothing=12345')nexturl = Noneurl = r'... 阅读全文

posted @ 2012-08-12 15:36 街角_祝福 阅读(134) 评论(0) 推荐(0) 编辑

pythonchallenge--3

摘要: 题:http://www.pythonchallenge.com/pc/def/equality.html好吧,看完题目我只知道一个小写字母和两边的大保镖,然后就不知道该怎么下去了,我表示我还不习惯做这种题目。后来,看了别人的解释,才知道要从网页的源文件读取,坑爹坑到家了,我根本就没没往这方面想。然... 阅读全文

posted @ 2012-08-12 13:12 街角_祝福 阅读(196) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页