2017年11月20日

Python 父类调用子类方法

摘要: class father(): def call_children(self): child_method = getattr(self, 'out')# 获取子类的out()方法 child_method() # 执行子类的out()方法class children(father): def out(self): print "hehe"ch... 阅读全文

posted @ 2017-11-20 17:25 DaSunWarman 阅读(4982) 评论(0) 推荐(0) 编辑

2017年11月9日

import win32api 安装pip install pypiwin32

摘要: pip install win32apipip install pywin32都会提示错误,如下: Could not find a version that satisfies the requirement win32api (from versions: ) No matching distribution found for win32api改为 pip install pypiwi... 阅读全文

posted @ 2017-11-09 19:58 DaSunWarman 阅读(1016) 评论(0) 推荐(0) 编辑

Python 封装DTU-215码流卡 第一天

摘要: DekTec的SDK下载地址:https://www.dektec.com/products/SDK/DTAPI/Downloads/WinSDK_v2017.08.0.zip DekTec码流卡DTU-215的官网代码例子 : https://www.dektec.com/products/app 阅读全文

posted @ 2017-11-09 19:28 DaSunWarman 阅读(675) 评论(0) 推荐(0) 编辑

git apply -v 提示 Skipped patch 打不上patch的解决办法

摘要: 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/cust... 阅读全文

posted @ 2017-11-09 13:39 DaSunWarman 阅读(1077) 评论(0) 推荐(0) 编辑

导航