Python发送http请求

2021-06-04

Python发送http请求

Requests 是以 PEP 20 的箴言为中心开发的

  • Beautiful is better than ugly.(美丽优于丑陋)

  • Explicit is better than implicit.(直白优于含蓄)

  • Simple is better than complex.(简单优于复杂)

  • Complex is better than complicated.(复杂优于繁琐)

  • Readability counts.(可读性很重要)

阅读全文

Python异步

2021-06-04

Python异步

asyncio — 异步 I/O

asyncio 是用来编写 并发 代码的库,使用 async/await 语法。

asyncio 被用作多个提供高性能 Python 异步框架的基础,包括网络和网站服务,数据库连接库,分布式任务队列等等。

asyncio 往往是构建 IO 密集型和高层级 结构化 网络代码的最佳选择。

阅读全文

Hello World

2021-06-01

Hello World

阅读全文
  • 1