python小技巧

想知道某类中的所有成员变量和函数

for temp in dir(request):
    print temp

posted @ 2009-11-10 14:28  Fan Zhang  阅读(78)  评论(0编辑  收藏  举报