[IPython-dev] ipython bash interaction?

Zoltán Vörös zvoros at gmail.com
Wed Sep 25 11:44:55 EDT 2013


Hi all,

I have a trivial question: how does the ipython console interact with 
bash (or the operating system, for that matter)? I can use system 
commands with e.g.,

In [] : !date
Wed Sep 25 17:42:33 CEST 2013

but this fails:

In [] : !myscript
/bin/sh: 1: myscript: not found

where myscript is a bash script in a directory that is in the path. From 
the system console, I can run myscript without any problems, no matter 
where I am. Is it not the case that everything after an ! is passed to 
the underlying system? Or is there something that has to be configured?

Cheers,
Zoltán




More information about the IPython-dev mailing list