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
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to