in ipython you could do
[1]: import os [2]: os? < get the full documentation here > # or you could do it on specific functions [3]: os.uname <built-in function> [4]: os.uname? < get the full documentation here > # Incase of modules written in python, you could inspect source code by doing [5]: import string [6]: string?? < hows the source code of the module > [7]: string.upper?? < shows the source code of the function >
source share