Distinguishing attributes and methods
tjhnson at gmail.com
tjhnson at gmail.com
Sat Dec 8 02:19:40 EST 2007
Hi,
With properties, attributes and methods seem very similar. I was
wondering what techniques people use to give clues to end users as to
which 'things' are methods and which are attributes. With ipython, I
use tab completion all the time, but I can rarely tell from the names
alone whether it is an attribute or method.
Tips? Ideas? Best practices?
Here is one idea: Ipython should color-code the tab completion based
on attributes and methods.
More information about the Python-list
mailing list