Message107696
Examplescript test.py:
import sys
print(sys.argv[1])
Call this script now with an argument, for exmaple: test.py 1234
I expect to see the string 1234 in the console but Python 3 says "IndexError: list index out of range". With Python 2.6.5 I be able to see the correct string 1234. |
|
Date |
User |
Action |
Args |
2010-06-12 20:35:16 | Sworddragon | set | recipients:
+ Sworddragon, mark.dickinson |
2010-06-12 20:35:16 | Sworddragon | set | messageid: <1276374916.44.0.614919681264.issue8984@psf.upfronthosting.co.za> |
2010-06-12 20:35:14 | Sworddragon | link | issue8984 messages |
2010-06-12 20:35:14 | Sworddragon | create | |
|