[docs] Tutorial 2.1.1: name 'sys' is not defined

Krzysztof Żelechowski giecrilj at stegny.2a.pl
Sat Jul 10 13:04:19 CEST 2010

Regarding the section "Argument Passing" [1]:

== Problem statement ==
When the student tells python to evaluate sys.argv[0] as described, she gets 
the following error: 

name 'sys' is not defined

== Suggestion ==
Please append the following example:

import sys

[1] <URL:http://docs.python.org/tutorial/interpreter.html#argument-passing>

More information about the docs mailing list