[IPython-user] Insert a command (text) automatically at the prompt

Ville M. Vainio vivainio@gmail....
Fri Sep 26 10:13:18 CDT 2008


On Fri, Sep 26, 2008 at 5:57 PM, Yann Le Du <yledu@free.fr> wrote:

> Is it possible to switch a flag on, and then have some text automatically
> added at the beginning of each command line when pressing the "Enter" key
>  ? Says something like this

Investigate:

_ip.set_next_input

pre_prompt_hook

Too busy for ready-made answer now ;-)

-- 
Ville M. Vainio
http://tinyurl.com/vainio


More information about the IPython-user mailing list