tanvirraj
3/11/2015 - 5:03 AM

UserDict.py

from UserDict import UserDict

class fileInfo(UserDict):
  def __init__(self, filename=None):
    UserDict.__init__(self) #no idea what it does.is it extending the constructor with UserDict’s constructor?
    self["name"]=filename