随笔分类 -  python

很强大
事件
摘要:事件(event):在你的应用程序期间发生的事情,它要求有一个响应。事件对象(event object):在wxPython中,它具体代表一个事件,其中包括了事件的数据等属性。它是类wx.Event或其子类的实例,子类如wx.CommandEvent和wx.MouseEvent。事件类型(event type):wxPython分配给每个事件对象的一个整数ID。事件类型给出了关于该事件本身更多的信... 阅读全文

posted @ 2008-03-30 23:04 Applemars 阅读(391) 评论(0) 推荐(0)

PySimpleApp
摘要:class PySimpleApp(wx.App): def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): wx.App.__init__(self, redirect, filename, useBestVisual, clearSigInt) def OnInit(se... 阅读全文

posted @ 2008-03-27 22:28 Applemars 阅读(417) 评论(0) 推荐(0)

常用操作符重载方法
摘要: 阅读全文

posted @ 2008-03-10 01:12 Applemars 阅读(232) 评论(0) 推荐(0)

常见文件操作
摘要:例子: 阅读全文

posted @ 2008-03-05 23:54 Applemars 阅读(221) 评论(0) 推荐(0)

转义符(learning python笔记)
摘要: 阅读全文

posted @ 2008-02-10 21:37 Applemars 阅读(417) 评论(0) 推荐(0)