Mercurial > repos > sanbi-uwc > summarize_poliovirus_alignment
comparison test_argparse.py @ 0:7e49c6b19f5e draft
planemo upload commit a99e10fec2fac5aae70974c977eb3b362a1a8429
| author | sanbi-uwc |
|---|---|
| date | Tue, 19 Jul 2022 11:47:08 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:7e49c6b19f5e |
|---|---|
| 1 #!/usr/bin/env python | |
| 2 | |
| 3 import argparse | |
| 4 | |
| 5 | |
| 6 if __name__ == '__main__': | |
| 7 parser = argparse.ArgumentParser() | |
| 8 parser.add_argument('--one', nargs='+') | |
| 9 parser.add_argument('--two', nargs='+') | |
| 10 args = parser.parse_args() | |
| 11 | |
| 12 print(args.one) | |
| 13 print(args.two) |
