Interactive "_"

Only in the interactive interpreter, you can use _ (underscore) to get the last printed statement. For example:

>>> 1 + 2
3
>>> _
3
>>> 

 
python/interactive.txt · Last modified: 2011/11/25 10:45 (external edit)
Email address
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki