The meaning of sys.argv[1] contains the first command-line argument passed to your script.
For example, if your script is named hello.py and your issue:
$ python3.1 hello.py foo
or:
$ chmod +x hello.py
$ ./hello.py foo
Your script will print:
Hello there foo
To know more about this you can have a look at the following video tutorial:-