encode python using command-line arguments

import sys
print sys.argv
i=0
for a in sys.argv:
print ‘n argv%d: %s’ % (i, sys.argv[i])
i+=1