John Leslie wrote: > I am converting a korn shell script to python and want to be able to > pass named arguments into python e.g -firstparam -secondparam > > Can this be done? >
See the module 'optparse'. http://www.python.org/doc/current/lib/module-optparse.html -- http://mail.python.org/mailman/listinfo/python-list