发布时间:2017-11-20 17:23:58
class father(): def call_children(self): child_method = getattr(self, 'out')# 获取子类的out()方法 child_method() # 执行子类的out()方法class children(father): def out(self): print "hehe"child = children()child.call_children()......【阅读全文】
发布时间:2017-11-09 14:03:58
git apply -v 33ae302.diff 提示 Skipped patch 'custom/mtk/mtk/packages/apps/LiveTV/src/com/mediatek/wwtv/tvcenter/nav/TurnkeyUiMainActivity.java'. 但是目录和文件命名没有改动,怎么打不上去呢 vi 33ae302.diff diff --git a/custom/mtk/mtk/packages/apps/LiveTV/src/com/mediatek/wwtv/tvc.........【阅读全文】