03 2012 档案
摘要:cherrypy安装使用,配置python环境变量2011-01-16 22:03cherrypy安装使用,配置python环境变量CherryPy是一种基于Python的Web应用程序开发框架,一个相当不错的HTTP Framework,它极大地简化了使用Python 的web开发人员的工作。1.安装cherrypy:从http://www.cherrypy.org/下载最新的cherrypy包解压缩后到目录下运行安装目录(注:必须先安装python并把python目录加到环境变量中)C:\Documents and Settings\zheng>G:G:\>cd sns/Che
阅读全文
摘要:Variables declared inside the class definition, but not inside a method are class or static variables:>>> class MyClass:... i = 3...>>> MyClass.i3 As @Daniel points out, this creates a class-level "i" variable, but this is distinct from any instance-level "i" va
阅读全文