To read different arguments in Python we will use sys.argv() method:-
import sys
print("\n".join(sys.argv))
sys.argv is a list that contains all the arguments passed to the script on the command line.
So below mentioned code validates that sys.argv()is a list:-
import sys
print(sys.argv[1:])
To know more about this you can have a look at the following video tutorial:-