* 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 的一个妙用
[code]
>>> 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
>>>
[/code]
* pyprocessing - 利用threading实现多进程的模块
主页:
[url]http://pyprocessing.berlios.de/[/url]
下载地址:
[url]http://download.berlios.de/pyprocessing/processing-0.52.win32-py2.5.exe[/url]
简单示例:
[code]
from processing import Process, Queue
def f(q):
q.put('hello world')
if __name__ == '__main__':
q = Queue()
p = Process(target=f, args=[q])
p.start()
print q.get()
p.join()
[/code]
* psyco - 一种优化python执行速度办法
* pyrex - ?
* MoinMoin - 强悍的Wiki
关于MoinMoin,有个重要的插件,备忘一下
** EventCalendar - 支持事件的日历插件,非常棒
[url]http://moinmoin.wikiwikiweb.de/MacroMarket/EventCalendar[/url]
** MonthCalendar - 比EventCalendar稍逊风骚的日历插件
[url]http://moinmoin.wikiwikiweb.de/MonthCalendar[/url]
* Dabo - 一个挺棒的UI框架
* pyjamas - AJAX框架
* 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 的一个妙用
[code]
>>> 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
>>>
[/code]
* pyprocessing - 利用threading实现多进程的模块
主页:
[url]http://pyprocessing.berlios.de/[/url]
下载地址:
[url]http://download.berlios.de/pyprocessing/processing-0.52.win32-py2.5.exe[/url]
简单示例:
[code]
from processing import Process, Queue
def f(q):
q.put('hello world')
if __name__ == '__main__':
q = Queue()
p = Process(target=f, args=[q])
p.start()
print q.get()
p.join()
[/code]
* psyco - 一种优化python执行速度办法
* pyrex - ?
* MoinMoin - 强悍的Wiki
关于MoinMoin,有个重要的插件,备忘一下
** EventCalendar - 支持事件的日历插件,非常棒
[url]http://moinmoin.wikiwikiweb.de/MacroMarket/EventCalendar[/url]
** MonthCalendar - 比EventCalendar稍逊风骚的日历插件
[url]http://moinmoin.wikiwikiweb.de/MonthCalendar[/url]
* Dabo - 一个挺棒的UI框架
* pyjamas - AJAX框架