Re: Using command line args on Windows

2005-10-09 Thread Tim Roberts
Duncan Booth <[EMAIL PROTECTED]> wrote: >Fredrik Lundh wrote: > >> footnote: if you'd prefer to type "myscript myarg" instead, you might >> want to check out this tool: >> >> http://effbot.org/zone/exemaker.htm > >or even just do: > >SET PATHEXT=.py;%PATHEXT% > >and then "myscript myarg"

Re: Using command line args on Windows

2005-10-06 Thread Duncan Booth
Fredrik Lundh wrote: >> I'm stuck on a Windows machine today and would love to fully play >> with and test a simple python script. I want to be able to type >> "python myscript myarg" somewhere. Is there anything out there to >> help me? > > footnote: if you'd prefer to type "myscript myarg" i

Re: Using command line args on Windows

2005-10-06 Thread Fredrik Lundh
"k8" wrote: > I'm stuck on a Windows machine today and would love to fully play with > and test a simple python script. I want to be able to type "python > myscript myarg" somewhere. Is there anything out there to help me? footnote: if you'd prefer to type "myscript myarg" instead, you might wa

Re: Using command line args on Windows

2005-10-06 Thread Diez B. Roggisch
k8 wrote: > Thank you thank you thank you- The windows command line sol worked. It sure does. But it sucks.. bad tab-completion, few tools, short history, limited command-line-editing and so on. But if you want it the hard way, it's your choice :) Diez -- http://mail.python.org/mailman/listinf

Re: Using command line args on Windows

2005-10-05 Thread k8
Thank you thank you thank you- The windows command line sol worked. -k8 -- http://mail.python.org/mailman/listinfo/python-list

Re: Using command line args on Windows

2005-10-05 Thread Diez B. Roggisch
k8 wrote: > Hello- > > I'm stuck on a Windows machine today and would love to fully play with > and test a simple python script. I want to be able to type "python > myscript myarg" somewhere. Is there anything out there to help me? My > main concern is playing with the myarg in the sys.argv lis

Re: Using command line args on Windows

2005-10-05 Thread Larry Bates
1) Start a command prompt window (Start-Programs-Accessories-Command Prompt) 2) Change to directory where the python program is stored (cd \) 3) Type python myscript.py myarg -Larry Bates k8 wrote: > Hello- > > I'm stuck on a Windows machine today and would love to fully play with > and t

RE: Using command line args on Windows

2005-10-05 Thread Michael . Coll-Barth
om: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] n.org]On Behalf Of k8 Sent: Wednesday, October 05, 2005 4:39 PM To: python-list@python.org Subject: Using command line args on Windows Hello- I'm stuck on a Windows machine today and would love to fully play with and test a simple python script.

Using command line args on Windows

2005-10-05 Thread k8
Hello- I'm stuck on a Windows machine today and would love to fully play with and test a simple python script. I want to be able to type "python myscript myarg" somewhere. Is there anything out there to help me? My main concern is playing with the myarg in the sys.argv list. I've been mucking