Monday, December 27, 2010

meaning of class FileInfo(UserDict)


from UserDict import UserDict

class FileInfo(UserDict): 1
1In Python, the ancestor of a class is simply listed in parentheses immediately after the class name. So the FileInfo class is inherited from the UserDict class 

No comments:

Post a Comment