【发布时间】:2013-08-03 14:19:58
【问题描述】:
我打开 C:\Python27\python.exe,输入 clean_index.py(这是一个位于 C:\Python27 中的文件),然后得到:
>>> clean_index.py
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'clean_index' is not defined
这是怎么回事? 我输入 C:\Python27\clean_index.py,同样的。
【问题讨论】:
标签: python python-2.7 command-line