Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python argv

import sys
  
print("This is the name of the program:", sys.argv[0])
print("Number of Arguments:", len(sys.argv))
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #python #argv
ADD COMMENT
Topic
Name
2+3 =