Author eric.araujo
Recipients eric.araujo
Date 2010-11-28.05:48:16
SpamBayes Score 0.000190482
Marked as misclassified No
Message-id <>
From the docs@ mailing list:

“Tutorial 2.1.1: name 'sys' is not defined

When the student tells python to evaluate sys.argv[0] as described, she gets the following error: name 'sys' is not defined”

Imports have not been introduced yet, so I propose this simple change:

-left in ``sys.argv`` for  the command or module to handle.
+left in ``sys.argv`` for  the command or module to handle.  You need to
+execute ``import sys`` before you can reference ``sys.argv``.

I’m not committing directly because I’d like feedback: Is the wording okay for the beginning of the tutorial?
Date User Action Args
2010-11-28 05:48:20eric.araujosetrecipients: + eric.araujo
2010-11-28 05:48:20eric.araujosetmessageid: <>
2010-11-28 05:48:16eric.araujolinkissue10559 messages
2010-11-28 05:48:16eric.araujocreate