Python

介绍

Python 教程

Python 是一门易于学习、功能强大的编程语言。它提供了高效的高级数据结构,还能简单有效地面向对象编程。Python 优雅的语法和动态类型以及解释型语言的本质,使它成为多数平台上写脚本和快速开发应用的理想语言。

特点

应用

Python 之禅

内容

Beautiful is better than ugly.

Explicit is better than implicit.

Simple is better than complex.

Complex is better than complicated.

Flat is better than nested.

Sparse is better than dense.

Readability counts.

Special cases aren't special enough to break the rules.

Although practicality beats purity.

Errors should never pass silently.

Unless explicitly silenced.

In the face of ambiguity, refuse the temptation to guess.

There should be one-- and preferably only one --obvious way to do it.

Although that way may not be obvious at first unless you're Dutch.

Now is better than never.

Although never is often better than right now.

If the implementation is hard to explain, it's a bad idea.

If the implementation is easy to explain, it may be a good idea.

Namespaces are one honking great idea -- let's do more of those!

语言特性

第三方库

虚拟环境

并发

资源


Children
  1. Ansible
  2. Asyncio
  3. Click
  4. Django
  5. FastAPI
  6. Flask
  7. Gevent
  8. Multithreading
  9. Mypy
  10. Numpy
  11. Pandas
  12. Pip
  13. Pipenv
  14. Playwright
  15. Poetry
  16. PyQT5
  17. Pydantic
  18. Pytorch
  19. Requests
  20. Scrapy
  21. Tensorflow
  22. Type Hints
  23. Typer
  24. Venv
  25. Zen of Python
  26. 上下文管理器
  27. 内置函数
  28. 内置类型
  29. 列表(字典, 集合)推导式
  30. 标准库模块
  31. 生成器
  32. 结构化模式匹配
  33. 装饰器
  34. 迭代器

Backlinks