摘要: class Base(object): pass class Inject(Base): def __init__(self): super().__init__() # python3 # super(Inject, self).__init__() # python2 pass cla... 阅读全文
posted @ 2017-11-28 11:11 随便了888 阅读(225) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash #@author vickey main() { TMP_PATH="/home/test" echo "are you sure to del all files in test/?" echo "y/n?: " read answer if [ ${answer} == "y" -o ${answer} == "Y" ] then restart ... 阅读全文
posted @ 2017-11-28 10:31 随便了888 阅读(167) 评论(0) 推荐(0) 编辑