Éric Araujo <merwok at netwok.org> added the comment: What about: “You need to execute ``import sys`` before you can use ``sys.argv``.” ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue10559> _______________________________________