Access to console history, or run commands
Curious if any of the following use cases are supported, for moving back and forth between console and editor:
- Run specific lines from editor in console. Since copy/paste into console only works one line at a time, it can be tedious on iOS (I abhor the hold-to-copy methodology in iOS)
On second thought, I should be able to used exec() for this... right?
Will exec() execute into the current interactive session if run from an action menu?
Get access to console history, to be able to copy last N lines back to editor.
i.e. once I'm done hacking around in interpreter, I want to capture what I've done back into the main script. I don't see anything in the console module that gives me access to history.... is it there and i'm missing it?
Likewise, is it possible to get access to console output? That's in theory easier, as you can copy multiple lines from console to editory, but, again, I find hold-to-select never quite works the first time especially in non text entry areas.
Random: I love the custom keyboard in pythonista... does seem to be missing % though?
@JonB, just a little note. % isn't missing. Just hold + sign for a while, and you should see submenu with + and % signs popping up :)