Access to raw command line?

Michele Simionato michele.simionato at gmail.com
Thu Apr 26 11:25:56 EDT 2007


On Apr 26, 9:04 am, Pieter Edelman <p.edel... at gmail.com> wrote:
> Hi,
>
> I'm currently writing a command-line program in Python, which takes
> commands in the form of:
> ./myprog.py [OPTIONS] ARGS

Once you start having too many arguments and options on the command
line, you might
consider using the cmd module of the standard library instead. Then
you could implement your own
expansion, and you would have portability for non-Unix system too.

  Michele Simionato




More information about the Python-list mailing list