Tutorial 2.1.1: name 'sys' is not defined
July 10, 2010
11:04 a.m.
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 sys.argv[0] ___ [1] <URL:http://docs.python.org/tutorial/interpreter.html#argument-passing>
5785
Age (days ago)
5785
Last active (days ago)
0 comments
1 participants
participants (1)
-
Krzysztof Żelechowski