[IPython-dev] Minus signs in argparse line magics
Fernando Perez
fperez.net at gmail.com
Fri Aug 10 18:44:32 EDT 2012
On Fri, Aug 10, 2012 at 3:39 PM, MinRK <benjaminrk at gmail.com> wrote:
> You can use '--' to halt argument parsing in argparse, so you should be able
> to do:
>
> %R -- c(1, -1)
Yes, that was mentioned in Matthew's reply; we were wondering about
ways of getting that effect without the explicit --. Given how
loosely specified the distinction between what can be an argument and
what can't is, I don't see a magical solution here.
More information about the IPython-dev
mailing list