args command line...

Jim Jinkins j-jinkins at usa.net
Sat Jul 20 13:13:35 EDT 2002


Shagshag wrote:

>hello,
>
>i'm looking for a script able to handle/understand "common" command
>line options like :
>
>ascript.py -option this_is_a_directory/*
>ascript.py -another_option file1 file2 file3 -another_option2
>this_is_another_dir
>
>i think that should exist somewhere...
>
>(i wish to learn as it should be written in a good pythoner's way but
>also gain time by re-using it)
>
>thanks in advance,
>
>s13.
>  
>
See module getopt in the standard library.

    Jim Jinkins





More information about the Python-list mailing list