TenjintShell.
set_next_input
Sets the ‘default’ input string for the next command line.
Example:
In [1]: _ip.set_next_input("Hello Word") In [2]: Hello Word_ # cursor is here