> > Saptarshi > > Preprocess the sys.args before calling optparse. > Simply search sys.args for the string "start" and the string "stop", and > note whichever comes first. Then use slice operators to peel the extra > arguments off of sys.args.
Thanks, i implemented your logic. I thought there was a Optparse feature to handle this. -- http://mail.python.org/mailman/listinfo/python-list