13
|
1 #!/usr/bin/python
|
|
2
|
|
3 import argparse
|
|
4
|
|
5 if __name__ == "__main__":
|
|
6 parser = argparse.ArgumentParser(description='Create new project for ie-docker.')
|
|
7 parser.add_argument('number', metavar='N', help='start number.')
|
|
8 parser.add_argument('limit', metavar='N', help='limit number.')
|
|
9 parser.add_argument('filename', metavar='filename', help='output file name.')
|
|
10 args = parser.parse_args()
|
|
11
|
|
12 f = open(args.filename,"w")
|
|
13 for num in range(int(args.number), int(args.limit)):
|
|
14 num_str = str(num)
|
|
15 f.write(num_str + "\n")
|
|
16 f.close()
|