[IPython-dev] what goes wrong with %%file

Zoltán Vörös zvoros at gmail.com
Sun May 12 17:51:39 EDT 2013


Fair enough. Thanks for the clarification!
Cheers,
Zoltán
> On Sun, May 12, 2013 at 11:36:16PM +0200, Zoltán Vörös wrote:
>> Couldn't %%file accept an argument (beyond the filename), which would
>> indicate what kind of action is going to be taken? Like
>> %%file overwrite somefile
>>
>> %%file append somefile
> That's effectively what it already does, except it uses `--force`
> (with [1]) and `--append` instead of `overwrite` and `append`.  The
> problem was the default `--force`, which is fixed in #3313.
>
> The ongoing %%overwrite discussion is about trying to increase the
> intuitive understanding to make the command's effect easier to
> remember.
>




More information about the IPython-dev mailing list