named arguments python code example
Example 1: python arguments
import sys
print ("the script has the name %s" % (sys.argv[0])
Example 2: python keyword arguments
#in python, arguments can be used using keywords
#the format is:
def function(arg,kwarg='default'):
return [arg,kwarg]