+ use OptionParser in optparse python module instead of getopt