MCQs > IT & Programming > Python > Which code samples will read arguments if the script is run from the command line?

Python MCQs

Which of the following code samples will read arguments if the script is run from the command line?

Answer

Correct Answer: import sys print sys.argv

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

More Python MCQ Questions

search

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it