Show More
@@ -118,8 +118,9 b' def rep_f(self, arg):' | |||
|
118 | 118 | |
|
119 | 119 | - %rep (no arguments): |
|
120 | 120 | |
|
121 |
Place a string version of last |
|
|
122 | to create elaborate command lines without using copy-paste:: | |
|
121 | Place a string version of last computation result (stored in the special '_' | |
|
122 | variable) to the next input prompt. Allows you to create elaborate command | |
|
123 | lines without using copy-paste:: | |
|
123 | 124 | |
|
124 | 125 | $ l = ["hei", "vaan"] |
|
125 | 126 | $ "".join(l) |
@@ -129,7 +130,8 b' def rep_f(self, arg):' | |||
|
129 | 130 | |
|
130 | 131 | %rep 45 |
|
131 | 132 | |
|
132 |
Place history line 45 to next input prompt. Use %hist to find out the |
|
|
133 | Place history line 45 to next input prompt. Use %hist to find out the | |
|
134 | number. | |
|
133 | 135 | |
|
134 | 136 | %rep 1-4 6-7 3 |
|
135 | 137 |
General Comments 0
You need to be logged in to leave comments.
Login now