additional_ipython/quickref.tex
author anand
Mon, 08 Nov 2010 01:36:47 +0530
changeset 455 f5b7d0b693d9
parent 301 af48ecb4dc11
permissions -rw-r--r--
checklist OK
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
301
af48ecb4dc11 Added quickref
Nishanth <nishanth@fossee.in>
parents: 234
diff changeset
     1
accessing history:\\
af48ecb4dc11 Added quickref
Nishanth <nishanth@fossee.in>
parents: 234
diff changeset
     2
{\ex \lstinline|    \%hist|}
234
2b88724a7ee0 Converted the additional_ipython script into new template form
Nishanth <nishanth@fossee.in>
parents:
diff changeset
     3
301
af48ecb4dc11 Added quickref
Nishanth <nishanth@fossee.in>
parents: 234
diff changeset
     4
accessing particular line of history:\\
af48ecb4dc11 Added quickref
Nishanth <nishanth@fossee.in>
parents: 234
diff changeset
     5
{\ex \lstinline|    \%hist line_number|}
234
2b88724a7ee0 Converted the additional_ipython script into new template form
Nishanth <nishanth@fossee.in>
parents:
diff changeset
     6
301
af48ecb4dc11 Added quickref
Nishanth <nishanth@fossee.in>
parents: 234
diff changeset
     7
accessing particular range of history:\\
af48ecb4dc11 Added quickref
Nishanth <nishanth@fossee.in>
parents: 234
diff changeset
     8
{\ex \lstinline|    \%hist start_line stop_line|}
234
2b88724a7ee0 Converted the additional_ipython script into new template form
Nishanth <nishanth@fossee.in>
parents:
diff changeset
     9
301
af48ecb4dc11 Added quickref
Nishanth <nishanth@fossee.in>
parents: 234
diff changeset
    10
saving history to a file:\\
af48ecb4dc11 Added quickref
Nishanth <nishanth@fossee.in>
parents: 234
diff changeset
    11
{\ex \lstinline|    \%save file_path line_numbers|}
af48ecb4dc11 Added quickref
Nishanth <nishanth@fossee.in>
parents: 234
diff changeset
    12
af48ecb4dc11 Added quickref
Nishanth <nishanth@fossee.in>
parents: 234
diff changeset
    13
running a script:\\
af48ecb4dc11 Added quickref
Nishanth <nishanth@fossee.in>
parents: 234
diff changeset
    14
{\ex \lstinline|    \%run -i file_path|}
af48ecb4dc11 Added quickref
Nishanth <nishanth@fossee.in>
parents: 234
diff changeset
    15