New to Python, Help to get script working?
rosuav at gmail.com
Mon Dec 16 08:43:54 CET 2013
On Mon, Dec 16, 2013 at 6:09 PM, Mark <markyshizzle at gmail.com> wrote:
> Traceback (most recent call last):
> File "C:\Python27\Scripts\Twitch.py", line 9, in <module>
> numberOfViewers = int(sys.argv)
> IndexError: list index out of range
> Is this where i would plug in the variables to make it work? I'm not quite sure about how you would plug in those numbers
In Python, sys.argv is the arguments passed to the script. You need to
pass it some arguments when you run it.
More information about the Python-list