This Python script imports the argv module to access command line arguments and assigns the script name to the first variable and additional arguments to subsequent variables, then prints out the name of the script and each variable to output the command line arguments.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
27 views1 page
Ex 6
This Python script imports the argv module to access command line arguments and assigns the script name to the first variable and additional arguments to subsequent variables, then prints out the name of the script and each variable to output the command line arguments.