[IPython-dev] saving/loading py files

Satrajit Ghosh satra at mit.edu
Sat Mar 31 19:07:36 EDT 2012


you bots are way too quick!

cheers,

satra



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

> On Sat, Mar 31, 2012 at 3:50 PM, Satrajit Ghosh <satra at 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 at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20120331/949031b6/attachment.html>


More information about the IPython-dev mailing list