what is argv in python??
Answers
Answered by
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.
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