I am trying to parse command line options using getopt module.
I have written the following Code
import string
import getopt
def usage():
print '''haarp_make.py -- uses getopt to recognize options
Options: -n -- No
-t -- Time
-h -- help
-i -- image_file
Thanks for your reply, I have used some of your ideas in my Code.
--
http://mail.python.org/mailman/listinfo/python-list
Thanks for your reply, I have used some of your ideas in my Code.
--
http://mail.python.org/mailman/listinfo/python-list
Hello
--
http://mail.python.org/mailman/listinfo/python-list
Thanks for your reply
I started writing the script.. I have gone through documentation for
getopt
import string, getopt, sys
def usage():
print '''myscript.py -- uses getopt to recognize options
Options: -n -- No
-t -- T
-h -- help
-i -- i
-o -- Outp