The Pythonista wrote:
I remember the interactive interpreter used to define the name _ to return the value of the last expression that was evaluated. However, I tried it just today and got a NameError. Is this a change in the interpreter or is there a configuration option I need to set to enable it?

Thanks!


Try again. I think you'll find it's still there -- although you have to execute a something that returns a value before it's set for the first time.

Gary Herron


--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to