docs: Add English README for python app (#2656)
This commit is contained in:
parent
5a562511e5
commit
551419a5e6
|
|
@ -1,3 +1,25 @@
|
|||
# Python
|
||||
|
||||
Python 运行环境
|
||||
Python 是一个高层次的结合了解释性、编译性、互动性和面向对象的脚本语言。
|
||||
|
||||
## 主要特点
|
||||
|
||||
- **易于学习**: Python有相对较少的关键字,结构简单,和一个明确定义的语法,学习起来更加简单。
|
||||
|
||||
- **易于阅读**: Python代码定义的更清晰。
|
||||
|
||||
- **易于维护**: Python的成功在于它的源代码是相当容易维护的。
|
||||
|
||||
- **一个广泛的标准库**: Python的最大的优势之一是丰富的库,跨平台的,在UNIX,Windows和Macintosh兼容很好。
|
||||
|
||||
- **互动模式**: 互动模式的支持,您可以从终端输入执行代码并获得结果的语言,互动的测试和调试代码片断。
|
||||
|
||||
- **可移植**: 基于其开放源代码的特性,Python已经被移植(也就是使其工作)到许多平台。
|
||||
|
||||
- **可扩展**: 如果你需要一段运行很快的关键代码,或者是想要编写一些不愿开放的算法,你可以使用C或C++完成那部分程序,然后从你的Python程序中调用。
|
||||
|
||||
- **数据库**: Python提供所有主要的商业数据库的接口。
|
||||
|
||||
- **GUI编程**: Python支持GUI可以创建和移植到许多系统调用。
|
||||
|
||||
- **可嵌入**: 你可以将Python嵌入到C/C++程序,让你的程序的用户获得"脚本化"的能力。
|
||||
|
|
|
|||
|
|
@ -0,0 +1,25 @@
|
|||
# Python
|
||||
|
||||
Python is a high-level, interpreted, compiled, interactive, and object-oriented scripting language.
|
||||
|
||||
## Main Features
|
||||
|
||||
- **Easy to Learn**: Python has relatively few keywords, a simple structure, and a clearly defined syntax, making it straightforward to learn.
|
||||
|
||||
- **Readable**: Python code is highly readable and easy to understand.
|
||||
|
||||
- **Maintainable**: Python's success lies in its highly maintainable source code.
|
||||
|
||||
- **Extensive Standard Library**: One of Python's biggest strengths is its rich library, which is cross-platform and works well with UNIX, Windows, and macOS.
|
||||
|
||||
- **Interactive Mode**: Python supports an interactive mode that allows you to input and execute code directly from the terminal, making testing and debugging snippets easier.
|
||||
|
||||
- **Portable**: Python is open-source and has been ported to many platforms, enabling it to work seamlessly across various environments.
|
||||
|
||||
- **Extensible**: For performance-critical code or proprietary algorithms, you can write those parts in C or C++ and call them from your Python program.
|
||||
|
||||
- **Database Support**: Python provides interfaces for all major commercial databases.
|
||||
|
||||
- **GUI Programming**: Python supports GUI creation and can be ported to many system calls.
|
||||
|
||||
- **Embeddable**: Python can be embedded into C/C++ programs, giving your application scripting capabilities.
|
||||
Loading…
Reference in New Issue