[IPython-user] capture shell output with '!!'

Ville Vainio vivainio at gmail.com
Wed Aug 31 06:37:44 CDT 2005


> =============================================
> In [3]: %sc -l variable=ls

> With '!!', I get error syntaxes whatever I try, and I dont find the
> documentation.... :-(
> 
> SOme tips?

I always do:

>>  !!ls

>> myfiles=_

Because the last output goes to "underscore"




More information about the IPython-user mailing list