> BTW, you should derive all your classes from something. If nothing > else, use object. > class textfile(object):
Just out of curiousity... why is that? I've been coding in Python for a long time, and I never derive my base classes. What's the advantage to deriving them? -- http://mail.python.org/mailman/listinfo/python-list