[Idle-dev] Big change to IDLE Shell

André Roberge andre.roberge at gmail.com
Tue May 18 04:29:28 EDT 2021


On Tue, May 18, 2021 at 2:22 AM Terry Reedy <tjreedy at udel.edu> wrote:

> On 5/13/2021 7:27 PM, Alan Gauld via IDLE-dev wrote:
> > On 13/05/2021 22:32, Terry Reedy wrote:
> >
>
...

>
> > 6) How to pass command line arguments when running a program.
> >     (Yes, it's possible, but not intuitive to a beginner,
> >      but much better than before)
>
> There is nothing 'intuitive' about running an editor window as if the
> corresponding file had been run from a command line.  What we did is
> give people a partial command line for the part that comes after 'python
> -i <filename>'.  Should we say that on the form?
>
> (jumping in this excellent thread...)

While you're at it, is there any possibility to add something *before* the
filename?

I would very much like to be able to do something like

python -i -m friendly <filename>

André Roberge



> --
> Terry Jan Reedy
>
> _______________________________________________
> IDLE-dev mailing list
> IDLE-dev at python.org
> https://mail.python.org/mailman/listinfo/idle-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/idle-dev/attachments/20210518/aeaeab94/attachment.html>


More information about the IDLE-dev mailing list