these are the arguments that im passing in my program
Expand|Select|Wrap|Line Numbers
- filename = str(sys.argv[1])
- limit_scenarios = int(sys.argv[2])
- limit_ages = int(sys.argv[3])
- limit_hours = int(sys.argv[4])
C:\>python m6_setup_me.py "2001summer.tb1" 10 25 3
this is the error message that i get
Traceback (most recent call last):
File "m6_setup_me.py", line 45, in <module>
limit_scenarios = int(sys.argv[1])
ValueError: invalid literal for int() with base 10: '2001summer.tb1'
i know its a minor error , but im not able to figure out what ... it is
thanks
cheers!