is there a way to view the source of a module from within the python console?
Question: if I'm in the python console and I want to see how a particular module works,
is there an easy way to dump the source?


Answer: Some of the methods of [inspect](http://docs.python.org/library/inspect.html)
module are well-suited for this purpose:

    
    
    import module
    import inspect
    src = inspect.getsource(module)
    

