[code.view]

[top] / python / PyMOTW / sys / sys_modules.py

     #!/usr/bin/env python
     # encoding: utf-8
     #
     # Copyright (c) 2009 Doug Hellmann All rights reserved.
     #
     """
     """
     #end_pymotw_header
     
     import sys
     import textwrap
     
     names = sorted(sys.modules.keys())
     name_text = ', '.join(names)
     
     print textwrap.fill(name_text)
     

[top] / python / PyMOTW / sys / sys_modules.py

contact | logmethods.com