Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import argparse
- parser = argparse.ArgumentParser()
- parser.add_argument('v1')
- parser.add_argument('v2')
- args = parser.parse_args()
- print ('value of variable a is:',args.v1)
- print ('value of variable b is:',args.v2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement