Computer Science, asked by Tiffa, 1 year ago

what is argv in python??

Answers

Answered by kkmr
1
Sys.argv is a list in Python, which contains the command-line arguments passed to the script.

With the len(sys.argv) function you can count the number of arguments.

If you are gonna work with command line arguments, you probably want to use sys.argv.
Similar questions