I am familiar with C, and have started experimenting in python. My question is regarding the sys.argv command. I\'ve read it is used for a command line interpre
sys.argv
You can convert the arguments to integers using int()
import sys a = int(sys.argv[1]) b = int(sys.argv[2]) print a, b print a+b
input: python mySum.py 100 200
python mySum.py 100 200
output:
100 200 300