python对格式要求实在是太严格,实在是太变态了
在缩进要要注意,用空格,不能是TAB也不能是空格+TAB,每次缩进是4个空格
推荐用EDITPLUS工具,方便数空格
其他格式要求见:http://wenku.baidu.com/link?url=mLWDwm6DTgatrsG2B6ltpHCGOvPiZSfLaJDCMLJQisSNpnIpvdl-2QLIqv4Fzu9f8eVjCcY63-DQSIM_cGg3JzTMno4G2_c-U-QPUQPsXXC