[Bill] > 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 a general rule, if Python gives you a syntax error then you can't achieve what you want without modifying Python's grammar (and turning it into something that isn't Python any more). -- Richie Hindle [EMAIL PROTECTED] Search your Visual Studio projects instantly with Entrian Source Search, our powerful Source Code Search add-in: http://entrian.com/source-search -- http://mail.python.org/mailman/listinfo/python-list