Re: Big change to IDLE Shell
André Roberge <[email protected]> Tue, 18 May 2021 05:29:28 -0300
| Newsgroups | gmane.comp.python.idle |
|---|---|
| Message-ID | <CAGMu_=rw05sm_JpxTjPUH-JGHByuqM7_fgwRWiJS80177g2u5Q@mail.gmail.com> |
--===============2631879431130808930== Content-Type: multipart/alternative; boundary="00000000000050a6fb05c296844a" --00000000000050a6fb05c296844a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, May 18, 2021 at 2:22 AM Terry Reedy <[email protected]> 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=C3=A9 Roberge > -- > Terry Jan Reedy > > _______________________________________________ > IDLE-dev mailing list > [email protected] > https://mail.python.org/mailman/listinfo/idle-dev > --00000000000050a6fb05c296844a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon= t-family:arial,helvetica,sans-serif;font-size:small"><br></div></div><br><d= iv class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, May = 18, 2021 at 2:22 AM Terry Reedy <<a href=3D"mailto:[email protected]">tjr= [email protected]</a>> wrote:<br></div><blockquote class=3D"gmail_quote" sty= le=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddi= ng-left:1ex">On 5/13/2021 7:27 PM, Alan Gauld via IDLE-dev wrote:<br> > On 13/05/2021 22:32, Terry Reedy wrote:<br> > <br></blockquote><div class=3D"gmail_default" style=3D"font-family:ari= al,helvetica,sans-serif;font-size:small">...<br></div><blockquote class=3D"= gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(20= 4,204,204);padding-left:1ex"> <br> > 6) How to pass command line arguments when running a program.<br> >=C2=A0 =C2=A0 =C2=A0(Yes, it's possible, but not intuitive to a beg= inner,<br> >=C2=A0 =C2=A0 =C2=A0 but much better than before)<br> <br> There is nothing 'intuitive' about running an editor window as if t= he <br> corresponding file had been run from a command line.=C2=A0 What we did is <= br> give people a partial command line for the part that comes after 'pytho= n <br> -i <filename>'.=C2=A0 Should we say that on the form?<br> <br></blockquote><div><div class=3D"gmail_default" style=3D"font-family:ari= al,helvetica,sans-serif;font-size:small">(jumping in this excellent thread.= ..)</div><br></div><div><div class=3D"gmail_default" style=3D"font-family:a= rial,helvetica,sans-serif;font-size:small">While you're at it, is there= any possibility to add something *before* the filename?</div><div class=3D= "gmail_default" style=3D"font-family:arial,helvetica,sans-serif;font-size:s= mall"><br></div><div class=3D"gmail_default" style=3D"font-family:arial,hel= vetica,sans-serif;font-size:small">I would very much like to be able to do = something like</div><div class=3D"gmail_default" style=3D"font-family:arial= ,helvetica,sans-serif;font-size:small"><br></div><div class=3D"gmail_defaul= t" style=3D"font-family:arial,helvetica,sans-serif;font-size:small">python = -i -m friendly <filename></div><div class=3D"gmail_default" style=3D"= font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div clas= s=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif;font-si= ze:small">Andr=C3=A9 Roberge</div><br></div><div>=C2=A0</div><blockquote cl= ass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid= rgb(204,204,204);padding-left:1ex"> -- <br> Terry Jan Reedy<br> <br> _______________________________________________<br> IDLE-dev mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]= g</a><br> <a href=3D"https://mail.python.org/mailman/listinfo/idle-dev" rel=3D"norefe= rrer" target=3D"_blank">https://mail.python.org/mailman/listinfo/idle-dev</= a><br> </blockquote></div></div> --00000000000050a6fb05c296844a-- --===============2631879431130808930== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ IDLE-dev mailing list [email protected] https://mail.python.org/mailman/listinfo/idle-dev --===============2631879431130808930==--