Show More
@@ -0,0 +1,19 b'' | |||||
|
1 | Empty History Ranges | |||
|
2 | ==================== | |||
|
3 | ||||
|
4 | A number of magics that take history ranges can now be used with an empty | |||
|
5 | range. These magics are: | |||
|
6 | ||||
|
7 | * ``%save`` | |||
|
8 | * ``%load`` | |||
|
9 | * ``%pastebin`` | |||
|
10 | * ``%pycat`` | |||
|
11 | ||||
|
12 | Using them this way will make them take the history of the current session up | |||
|
13 | to the point of the magic call (such that the magic itself will not be | |||
|
14 | included). | |||
|
15 | ||||
|
16 | Therefore it is now possible to save the whole history to a file using simple | |||
|
17 | ``%save <filename>``, load and edit it using ``%load`` (makes for a nice usage | |||
|
18 | when followed with :kbd:`F2`), send it to dpaste.org using ``%pastebin``, or | |||
|
19 | view the whole thing syntax-highlighted with a single ``%pycat``. |
General Comments 0
You need to be logged in to leave comments.
Login now