User Tools

Site Tools


python:interactive

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

python:interactive [2013/03/16 17:40] (current)
Line 1: Line 1:
 +=== Interactive "​_"​ ===
  
 +
 +Only in the interactive interpreter,​ you can use _ (underscore) to get the last printed statement. For example:
 +
 +<code python>
 +>>>​ 1 + 2
 +3
 +>>>​ _
 +3
 +>>> ​
 +</​code>​
python/interactive.txt ยท Last modified: 2013/03/16 17:40 (external edit)