You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
576 B
19 lines
576 B
5 years ago
|
import os, sys, random
|
||
|
import argparse
|
||
|
|
||
|
parser = argparse.ArgumentParser(description='Process an image uploaded to the server.')
|
||
|
parser.add_argument('filename', action='store',
|
||
|
help='Filename of photo to process')
|
||
|
parser.add_argument('city', action='store',
|
||
|
help='City of the visitor')
|
||
|
parser.add_argument('school', action='store',
|
||
|
help='School of the visitor')
|
||
|
parser.add_argument('age', action='store',
|
||
|
help='Age of the visitor')
|
||
|
|
||
|
args = parser.parse_args()
|
||
|
|
||
|
print(args.filename)
|
||
|
|
||
|
sys.exit(0);
|