Why does argv have a 'v'

I am learning Python as a novice programmer. I've seen argv as in sys.argv and I believe it is used in other languages ​​as well. What is the meaning of "v" in "argv"? What does this mean and where does this term come from?

I hope this helps me understand and remember the use of "argv".

+3


source to share


1 answer


Variables are named argc

(number of arguments) and argv

(argument vector ) by convention, from C.



note that in Python there is no sys.argc

. You just use fred-larsonlen(sys.argv)

as instructed

+7


source







All Articles