Albion
Albion

Reputation: 145

What's a more efficient way to browse module functions, object methods, etc than just help(), or dir()?

As I explore new modules, I find it very inefficient to iteratively check help() and dir(), and that dir() doesn't even differentiate between classes, methods and class variables. I know that I can check the source code but that's hardly practical. Is there any Sublime plugin that allows you to see these things in a tree like view, with inline help that automatically pulls from help(), and that uses some visual language to differentiate these kinds of things?

Thanks!

Upvotes: 0

Views: 31

Answers (1)

MattDMo
MattDMo

Reputation: 102902

For Sublime Text, check out the Anaconda plugin (not related to the Anaconda Python distribution). Make sure you read all the docs and configure it properly, but once it's going the autocomplete and code intelligence features can be really helpful.

I still highly recommend becoming familiar with the Python docs, as there is a lot in there that no IDE feature can replicate.

Upvotes: 1

Related Questions