街角_祝福

导航

2012年8月10日 #

递归排序

摘要: import randomdef qsort(L): if len(L)L[0]]))li = []for i in range(20): li.append(random.randrange(10,100))print(li)print(sorted(li))print(qsort(l... 阅读全文

posted @ 2012-08-10 14:26 街角_祝福 阅读(133) 评论(0) 推荐(0)

wxPython的简单使用

摘要: +看书。import wxdef load(event): file = open(filename.GetValue()) contents.SetValue(file.read()) file.close() def save(event): file = open... 阅读全文

posted @ 2012-08-10 09:24 街角_祝福 阅读(317) 评论(0) 推荐(0)