QuestionQ272

VerifiedComputer Programming and Python Fundamentals

Which variable in the sys module provides access to command-line arguments?

Explanation

Python stores command-line arguments in sys.argv, a list whose first element is typically the script name.

Community Discussion

No comments yet. Be the first to start the discussion!