import x as y

Peter Schneider-Kamp nowonder at nowonder.de
Tue Oct 31 08:26:42 EST 2000


Aahz Maruch wrote:
> 
> In article <mailman.972902404.22504.python-list at python.org>,
> Thomas Wouters  <thomas at xs4all.net> wrote:
> >
> >d = {}
> >import string as d['string'] # store directly in dict, not in local namespace
> >
> >and
> >
> >from sys import version_info as (maj, min, pl, type, relno) # unpack tuple
> >
> >and
> >
> >import shelve
> >from myoptimizedCPickle import Pickler as shelve.Pickler # store in shelve
> 
> Yer a sick puppy.

It ain't that sick. Actually I 'ave ter admit I like it. But then I
hacked
this feature, too, just to find that Thomas had already loaded it up to
SF.

what's-the-problem-anyway-ly y'rs
Peter




More information about the Python-list mailing list