I recently came across this argv
thing in python. What I've understood is that it is used for passing parameters using command line. Now, my questions are----
- Is
argv
command-line only? I mean can it be used for command-line programs only? - If not, how do I use that in a program? Please share some example code.
Thanks in advance!!!!