我尝试在python中启动一个基本程序,它是:
#!/usr/bin/python2.7
# -*- coding: utf-8 -*-
hello = "world"
Run Code Online (Sandbox Code Playgroud)
我收到这个错误:
File "toto.py", line 4
hello = "world"
^
SyntaxError: invalid syntax
Run Code Online (Sandbox Code Playgroud)
但我确定这是好语法!那我在哪里错了?
谢谢.