python语句在编译时遇到问题------IndentationError: expected an indented block
在网上查找之后,发现原来是缩进的问题,没有想到python对缩进如此敏感,每个冒号的下一行都要缩进。
具体请参见http://blog.csdn.net/neilhappy/article/details/7724959
python语句在编译时遇到问题------IndentationError: expected an indented block
在网上查找之后,发现原来是缩进的问题,没有想到python对缩进如此敏感,每个冒号的下一行都要缩进。
具体请参见http://blog.csdn.net/neilhappy/article/details/7724959