Technology Bytes
Solution to common everyday Technology problems
Pages
Home
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Please write your comments and suggestions