python相关拾零
* python-psycopg2 - Python module for PostgreSQL* SQLAlchemy - SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.
* SCons - 类似make的编译工具
* libgmail - Python binding for Google's Gmail service
* getpass - 处理密码的获取等事情
* type 的一个妙用
>>> def __init__(self):
self.message='hello world'
>>> def say_hello(self):
print self.message
>>> attrs = {'__init__':__init__,'say_hello':say_hello}
>>> bases=(object,)
>>> Hello = type('hello',bases,attrs)
>>> Hello
<class '__main__.hello'>
>>> h = Hello()
>>> h.say_hello()
hello world
>>>
* pyprocessing - 利用threading实现多进程的模块
主页:
http://pyprocessing.berlios.de/
下载地址:
http://download.berlios.de/pyprocessing/processing-0.52.win32-py2.5.exe
简单示例:
from processing import Process, Queue
def f(q):
q.put('hello world')
if __name__ == '__main__':
q = Queue()
p = Process(target=f, args=)
p.start()
print q.get()
p.join()
* psyco - 一种优化python执行速度办法
* pyrex - ?
* MoinMoin - 强悍的Wiki
关于MoinMoin,有个重要的插件,备忘一下
** EventCalendar - 支持事件的日历插件,非常棒
http://moinmoin.wikiwikiweb.de/MacroMarket/EventCalendar
** MonthCalendar - 比EventCalendar稍逊风骚的日历插件
http://moinmoin.wikiwikiweb.de/MonthCalendar
* Dabo - 一个挺棒的UI框架
* pyjamas - AJAX框架
页:
[1]