diff options
Diffstat (limited to 'additional_features_of_ipython/quickref.tex')
-rw-r--r-- | additional_features_of_ipython/quickref.tex | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/additional_features_of_ipython/quickref.tex b/additional_features_of_ipython/quickref.tex new file mode 100644 index 0000000..1616316 --- /dev/null +++ b/additional_features_of_ipython/quickref.tex @@ -0,0 +1,15 @@ +accessing history:\\ +{\ex \lstinline| \%hist|} + +accessing particular line of history:\\ +{\ex \lstinline| \%hist line_number|} + +accessing particular range of history:\\ +{\ex \lstinline| \%hist start_line stop_line|} + +saving history to a file:\\ +{\ex \lstinline| \%save file_path line_numbers|} + +running a script:\\ +{\ex \lstinline| \%run -i file_path|} + |