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
sys.argv items are always strings. you should cast them to int with int(a).
strings
int
int(a)
You can also use third party libraries for handling CLI arguments such as OptParse.