Pages

Saturday, June 9, 2012

Python: Get command line parameters


def Print_Command_Parms():
'Prints the command line parameters passed to the job'
for i, cmd in enumerate(sys.argv):
logger.debug("argv[%d]='%s'" % (i, cmd))

No comments:

Post a Comment

Please write your comments and suggestions