More like a shell command.
Bill
galaxyblue63 at gmail.com
Wed Aug 6 10:38:29 EDT 2008
Is there anyway I can extend python to accept a command
which looks more like shell syntax than a function call.
I want to be able to do this:
if blah :
MyCommand Arg1 Arg2
as opposed to this:
if blah :
MyCommand(Arg1,Arg2)
or this:
if blah :
x("MyCommand Arg1 Arg2")
Of source, I would like to do this by writing a module (or through
some other run-time hook) as opposed to editing the Python source
code.
Thanks in advance
(unless you are just a Python nut who is flaming to tell me that I
should not want this. :-) )
Bill
More information about the Python-list
mailing list