Hello,

Since I can write the statement like:

>>> print os.path.isdir.__doc__
Test whether a path is a directory

Why do I still need the getattr() func as below?

>>> print getattr(os.path,"isdir").__doc__
Test whether a path is a directory

Thanks!
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to