Gibt es eine Möglichkeit, dass ich meinen letzten ipython-Befehl an ein Skript senden kann?ipython-Funktion zum Senden des letzten Befehls an das Skript
Wunsch Nutzung wäre so etwas wie:
$ tail script.py
...
[1] my_command = 0
[2] %saveLastCmd script.py # equivalent to $ echo <command> >> script.py
$ tail script.py
....
my_command = 0
[1] my_command = 1
[2] %saveLastCmd script.py # equivalent to $ echo <command> >> script.py
$ tail script.py
....
my_command = 0
my_command = 1
durch die ipython magischen Funktionen Lesen und dem Schreiben meiner Frage in Google – kilojoules