template.py 文件源码

python
阅读 27 收藏 0 点赞 0 评论 0

项目:CodeReader 作者: jasonrbr 项目源码 文件源码
def OpenDocumentFile(self, filename, bMakeVisible = 1):
        if filename is not None:
            try:
                path = os.path.split(filename)[0]
#               print "The editor is translating", `filename`,"to",
                filename = win32api.FindFiles(filename)[0][8]
                filename = os.path.join(path, filename)
#               print `filename`
            except (win32api.error, IndexError) as details:
                pass
#               print "Couldnt get the full filename!", details
        return self._obj_.OpenDocumentFile(filename, bMakeVisible)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号