* asit (Sat, 17 Jan 2009 13:28:12 -0800 (PST))
> Recently I was coding a link extractor. It's a command line stuff and
> takes parameter as argument.
> I found that the in operator is not always helpful.
> eg. if "--all" in sys.argv:
>            print "all links will be printed"
> 
> its not helpful when some attribute value is sent in command line
> parameter.
> hence I want to process some data like find=".co.uk"
> 
> How can i do this ???

Use optparse
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to