(object)
Prints the source code of a given object.
Prints the source code of a given object.
Prints the source code of a given object .
def source(object):
    """
    Prints the source code of a given object.
    """
    print('In file: %s' % inspect.getsourcefile(object))
    print(inspect.getsource(object))
def source ( object ) : print ( 'In file: %s' % inspect . getsourcefile ( object ) ) print ( inspect . getsource ( object ) )