[IPython-user] ipython to replace bash scripts?

Robert Kern robert.kern@gmail....
Wed Dec 9 11:47:19 CST 2009

On 2009-12-09 11:09 AM, Florian Lindner wrote:
> Helllo,
> I have some small bash scripts that I want to replace with python scripts.
> - Is ipython -p sh the right interpreter to start? My first try to do
> something bash like was:
> #!/usr/bin/ipython -p sh

This won't work. By the POSIX standard, you can only have one argument after the 
executable, not two.

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco

More information about the IPython-user mailing list