[IPython-dev] saving/loading py files

Satrajit Ghosh satra@mit....
Sat Mar 31 18:07:36 CDT 2012


you bots are way too quick!

cheers,

satra



On Sat, Mar 31, 2012 at 7:03 PM, Fernando Perez <fperez.net@gmail.com>wrote:

> On Sat, Mar 31, 2012 at 3:50 PM, Satrajit Ghosh <satra@mit.edu> wrote:
> > %save works fine if the file doesn't already exist
>
> Unfortunately it asks for confirmation to overwrite but doesn't have a
> -f switch.  We wrote it when the nb didn't exist and we could assume
> that stdin was always available, but that's not true anymore.  Now, we
> should instead add a -f switch, and detect the absence of raw_input
> and instead give a nice error message that suggests -f when used from
> the nb:
>
> https://github.com/ipython/ipython/issues/1542
>
> Cheers,
>
> f
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20120331/949031b6/attachment.html 


More information about the IPython-dev mailing list