Buildin Module Python Tutorial

import sys                                
print '\n'.join(sys.modules.keys())