Python 3.1
Винда
a = 'dead'
b = 'parrot'
c = 'sketch'
print (a,b,c)
dir(threename)
>>>dir(threename)
['_ _builtins_ _', '_ _doc_ _', '_ _file_ _', '_ _name_ _', 'a', 'b', 'c']
Traceback (most recent call last):
File "C:\py3eg\threename\dir_threename.py", line 1, in <module>
dir(threename)
NameError: name 'threename' is not defined