python格式,基础案例你值得需要,#! /usr/local/bin/python # -*- coding: utf-8 -*- class CPrintMeBase(object): def __init__(self): print "init CPrintMeBase ..." def __str__(self): strRet = "" lMembers = dir(self) for strItem in lMembers: if strItem.startswith("m