Demo entry 6353818

test

   

Submitted by anonymous on Apr 03, 2017 at 05:52
Language: Python 3. Code size: 490 Bytes.

def main():

    ######################### Phrase parameters #########################
    import argparse
    ArgParser = argparse.ArgumentParser(usage=usage)
    ArgParser.add_argument("--version", action="version", version=progVersion)

    (para, args) = ArgParser.parse_known_args()

    if len(args) != 1:
        ArgParser.print_help()
        print >>sys.stderr, "\nERROR: The parameters number is not correct!"
        sys.exit(1)
    else:
        (inputTif,) = args

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).