En Thu, 05 Apr 2007 18:48:27 -0300, Greg Donald <[EMAIL PROTECTED]> escribió:
> Anyone know what's up with environment variables when using ipython? > > When I type 'env' and hit return I get a dictionary full of useful > information (trimmed for brevity): > But then when try to access the information in the dictionary it > doesn't seem to exist: > > In [2]: env['EDITOR'] > --------------------------------------------------------------------------- > exceptions.NameError Traceback (most > recent call last) > > /Users/destiney/<ipython console> > > NameError: name 'env' is not defined Try os.environ -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list