摘要: <!DOCTYPE html><html><head><meta charset="utf-8"><title>菜鸟教程(runoob.com)</title></head><body> <h2>JavaScript 对象</h2> <p>你无法给构造函数添加新的属性。</p> <p id="dem 阅读全文
posted @ 2019-07-04 14:54 技术颜良 阅读(577) 评论(0) 推荐(0)
摘要: 来看下图,其中关键参数 -n signum 表示的是信号编码。 kill kill 可以用 kill -l 来查看具体有哪些信号编码,这里重点关注 9) SIGKILL 和 15) SIGTERM。 kill -l kill -15 pid(默认) 执行完该指令后,操作系统会发送一个 SIGTERM 阅读全文
posted @ 2019-07-04 14:46 技术颜良 阅读(746) 评论(0) 推荐(0)
摘要: class C: name='fdsa' def __init__(self,name,age): print('init') self.name=name self.age=age @staticmethod def test2(): print('pass') @classmethod def 阅读全文
posted @ 2019-07-04 09:14 技术颜良 阅读(204) 评论(0) 推荐(0)