您的位置:首页 > 编程语言 > Python开发

Python问题-IndentationError: expected an indented block

2015-01-16 10:28 501 查看
python语句在编译时遇到问题------IndentationError: expected an indented block

在网上查找之后,发现原来是缩进的问题,没有想到python对缩进如此敏感,每个冒号的下一行都要缩进。

具体请参见http://blog.csdn.net/neilhappy/article/details/7724959
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: