[Python-3000] packages in the stdlib

Mike Klaas mike.klaas at gmail.com
Thu Jun 1 23:16:25 CEST 2006


Terry Reedy wrote:
> Because you have to type it over and over.

hmm,  With the right context manager:

import py
with py as py:
    from gui import tkinker
    import net
    with net as net:
        import httplib
        import urllib

-Mike


More information about the Python-3000 mailing list