[IPython-dev] what goes wrong with %%file
Fernando Perez
fperez.net at gmail.com
Tue May 14 03:23:07 EDT 2013
On Mon, May 13, 2013 at 8:30 AM, Brian Granger <ellisonbg at gmail.com> wrote:
> I still favor %%file and adding the prompt to overwrite.
We have clear evidence of repeated user confusion with this, and it's
an ambiguous name for something that's an action (and a potentially
destructive one, at that). This is a case where user feedback (in
this case collected by Greg) is showing us there's a real usability
problem, we just need to fix it.
Furthermore, making it by default interactive is going to cause all
kinds of unexpected problems in automatically managed notebooks and
scripts that will now block a process when they try to open a prompt.
A rename to a verb term, along with the option of an interactive flag
for those who clearly want that mode (and hence aren't worried about
auto-execution) addresses cleanly both issues.
Cheers,
f
More information about the IPython-dev
mailing list