On 02/11/2014 01:18 PM, luke.gee...@gmail.com wrote:
Would it be possible to make an
int(sys.argv[1])
Not needed and set value 0 ( or in another script 1)
For example
a = int(sys.argv[1])
b = int(sys.argv[2])
c = int(sys.argv[3])
And I run
Python ./script.py 2 3

It just set c automaticly to 0 or 1

Luke

(PS thanks for the quick help)

That question does not make sense to me. Yes, you can set c=1 in your program, or zero if that's what you want, but this can't be the question you are really trying to ask.
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to