Python
文章平均质量分 66
leishifei
这个作者很懒,什么都没留下…
展开
-
在AIX下安装python
在AIX下安装pythonPython是个好东西。去IBM网站下载for AIX的最新版:http://www-1.ibm.com/servers/aix/products/aixos/linux/download.htmlpython这个包肯定是要的:ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/python/python-2.2-5.aix5.1.ppc.rpm使用rpm -ivh 包名 来安装rpm包。这里还有一个问题,原创 2011-04-16 14:40:00 · 1880 阅读 · 0 评论 -
IndentationError:expected an indented block错误解决
<br />IndentationError:expected an indented block错误解决<br /><br />Python语言是一款对缩进非常敏感的语言,给很多初学者带来了困惑,即便是很有经验的Python程序员,也可能陷入陷阱当中。最常见的情况是tab和空格的混用会导致错误,或者缩进不对,而这是用肉眼无法分别的。<br /><br /><br />在编译时会出现这样的错IndentationError:expected an indented block说明此处需要缩进,你只要在出现错原创 2011-04-16 14:58:00 · 721 阅读 · 0 评论