2017年12月28日

About self and class

摘要: From http://www.runoob.com/python3/python3-class.html 1. 很多类都倾向于将对象创建为有初始状态的。因此类可能会定义一个名为 __init__() 的特殊方法(构造方法) 2. 类定义了 __init__() 方法的话,类的实例化操作会自动调用 阅读全文

posted @ 2017-12-28 17:21 cdekelon 阅读(167) 评论(0) 推荐(0)

How to quickly learn 一个Python的模块、方法、关键字

摘要: From http://blog.csdn.net/oxiaoxio/article/details/50445539 想要快速的学会一个Python的模块和方法,两个函数必须要知道,那就是dir()和help() dir():能够快速的以集合的型式列出该模块下的所有内容(类、常量、方法)例: 结果 阅读全文

posted @ 2017-12-28 16:49 cdekelon 阅读(272) 评论(0) 推荐(0)

How to 安装apache和配置自定义目录, run CGI or py

摘要: From http://blog.csdn.net/brazy/article/details/77509902 (mostly) http://www.jb51.net/article/74005.htm (one point) other ref: https://help.ubuntu.com 阅读全文

posted @ 2017-12-28 10:57 cdekelon 阅读(198) 评论(0) 推荐(0)

导航