Ben Finney wrote:
>> I see what you mean, but I think that's why I like using open, >> because I like having my functions be verbs instead of nouns. > > Note though that you're calling a class (in this case, type) > constructor, to return a new object. no, he's calling a factory function to get an object that provides the expected behaviour. in future versions of Python, open() may not always create an instance of the file type. </F> -- http://mail.python.org/mailman/listinfo/python-list