>>> python hello.py
File "", 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!!!'
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
确认文件所在目录名不要是“中文”。
不要用windows