GoProHero.py 文件源码

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

项目:GPArrayController 作者: eastpiger 项目源码 文件源码
def test(self, url, toHex=True):
        try:
            url = 'http://{}/{}'.format(self._ip, url)

            print(url)
            response = urlopen(
                url, timeout=self.timeout).read()

            if toHex:
                response = response.encode('hex')

            print(response)
        except (HTTPError, URLError, socket.timeout) as e:
            print(e)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号