
June 30, 2011
3:36 p.m.
On Thu, Jun 30, 2011 at 11:27 PM, Sturla Molden <sturla@molden.no> wrote:
What I am asking is if the need to filter the output from dir is so common that it could warrant a change to Python?
No, if an object is complicated enough that pprint(dir(obj)) and help(obj) aren't adequate to explore it, then it is time to go read the documentation (or the source, if the documentation is lacking). The interactive prompt is just one of the available tools for code exploration, it doesn't make sense to try to make it do everything. Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia