NIELIT O Level Exam

Command line arguments in Python are accessed using:

Command line arguments in Python are accessed using:

Python में command-line arguments को किससे access किया जाता है?

A. argv[]

B. sys.argv

C. input()

D. args[]




Correct Answer is :

B. sys.argv



Explanation
Python stores command-line arguments in the argv list of the sys module.

Python में command-line arguments sys module की argv list में उपलब्ध होते हैं।
Latest Current Affairs 2026 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad