>>> python hello.py
File "<stdin>", line 1
python helloworld.py
^
SyntaxError: invalid syntax
name.py
name = raw_input('please enter you name')
print 'hello',name
hello.py
print 'hello world!!!'
不要用windows
我也遇到这种问题 文件保存在f盘,小三角提示在冒号上。初次接触python,求大神指点。
确认文件所在目录名不要是“中文”。
根据你的描述猜测是这样子的, 不过怎么可以这样运行呢,
应该这样的才可以