"Sion Arrowsmith" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > What's wrong with sys.argv ?
Mainly that it doesn't exist. :-) The example was slightly contrived -- I'm really dealing with commands interactively entered within a program in response to raw_input(), although the format of the commands is meant to be consistent with command-line usage. (A real command, for instance, would be something like this: load "my firmware file.bin" .) I ended up using shlex.strip() -- works great! ---Joel -- http://mail.python.org/mailman/listinfo/python-list