import sys
sys.path.append('C:\Users\Administrator\Desktop')
import hello
test()
Traceback (most recent call last):
File "<pyshell#4>", line 1, in <module>
test()
NameError: name 'test' is not defined
hello.test()
Hello,world!
sys.argv
['']# "为什么argv里只有一个空的元素,廖大不是说第一个永远是'hello.py'吗" #
我是李承盛