I have a python script that has values in $4 and $5. Currently, the $4 is getting called fine and working without issue, however I can't get $5 to work at all, it just never is evaluated and returns the literal string of "$5" instead of the value. I've tried setting it to a variable, using sys.argv[5], etc and I can't seem to get it to work.. Anyone ever run into a similar issue?
Solved
Python script not calling script parameters correctly?

Best answer by sdagley
@jrogersnh sys.argv[parameter#]
should work to get the script parameters in Python. The thread Adding a Python Script to JSS might have useful info.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.