help.py 文件源码

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

项目:wpkg-gp-client 作者: sonicnkt 项目源码 文件源码
def OnLinkClicked(self, link):
        # If Link is an anchor link let the html window do its job
        # If it is not an anchor link let the default browser open the page
        href = link.GetLinkInfo().GetHref()
        anchor = href[1:]
        if href.startswith('#'):
            self.html.ScrollToAnchor(anchor)
        else:
            wx.BeginBusyCursor()
            webbrowser.open(href)
            wx.EndBusyCursor()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号