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"
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
"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
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
Thank you thank you thank you- The windows command line sol worked.
-k8
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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.
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