张赐杰
张赐杰
For a macOS with anaconda, the Instruction may not be complete. I tried each of the three commands given and failed. Finally I found success command in https://anaconda.org/mcs07/tesserocr
在抓取 https://hit-scir.gitbooks.io/neural-networks-and-deep-learning-zh_cn/content/ 这本书时,其它页面正常运作,但某页会出现错误并中断。 ``` Shell done : https://hit-scir.gitbooks.io/neural-networks-and-deep-learning-zh_cn/content/chap3/c3s0.html Traceback (most recent call last): File "gitbook.py", line 5, in Gitbook2PDF(url).run() File "/Users/cxjh168/Downloads/gitbook2pdf-master/gitbook2pdf/gitbook2pdf.py", line 198, in run loop.run_until_complete(self.crawl_main_content(content_urls)) File "/Users/cxjh168/anaconda3/lib/python3.7/asyncio/base_events.py", line 584,...
给出的第一个链接,只说了结构上,两者的功能可以相互通用,所以觉得大部分解释都是错的。但没讲实际上区别在哪里。 事实上,该文章下方评论124楼讲得更好。 个人理解。理论上,get、post、put的功能确实可以互通,但是约定上用法不同,导致服务器上的方法一般写得也会不同(自己硬要写个能互通的方法也可以,但不符合一般的习惯),使得实际使用时,就是不一样的。完全就是大部分地方解释的,GET获得数据,POST提交、创建数据、PUT修改数据。