摘要: 1.这里介绍的python的单例模式有两种方式,一种方式是win32event的CreateMutex来实现,另外就是定义一个全局变量第一种实现方式可以参考这里http://code.activestate.com/recipes/474070-creating-a-single-instance-application/2.对于方法2,网上的方法很多,这里就简单的摘抄一个,http://dev.... 阅读全文
posted @ 2010-09-17 09:59 john2000 阅读(1575) 评论(0) 推荐(0) 编辑