On Mon, Dec 16, 2013 at 6:09 PM, Mark <markyshiz...@gmail.com> wrote:
> Traceback (most recent call last):
>   File "C:\Python27\Scripts\Twitch.py", line 9, in <module>
>     numberOfViewers = int(sys.argv[1])
> 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.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to