import x as y

Rainer Deyke root at rainerdeyke.com
Tue Oct 31 14:17:38 EST 2000


"Peter Schneider-Kamp" <nowonder at nowonder.de> wrote in message
news:mailman.972999033.11809.python-list at python.org...
> 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
> > 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.

On a related note, I want the following to work:

l = [0]
def l[0]():
  pass


--
Rainer Deyke (root at rainerdeyke.com)
Shareware computer games           -           http://rainerdeyke.com
"In ihren Reihen zu stehen heisst unter Feinden zu kaempfen" - Abigor





More information about the Python-list mailing list