1
0
Fork 0

docs: Add English README for python app (#2656)

This commit is contained in:
2024-12-03 15:44:53 +08:00 committed by GitHub
parent 5a562511e5
commit 551419a5e6
2 changed files with 48 additions and 1 deletions

View File

@ -1,3 +1,25 @@
# Python
Python 运行环境
Python 是一个高层次的结合了解释性、编译性、互动性和面向对象的脚本语言。
## 主要特点
- **易于学习**: Python有相对较少的关键字结构简单和一个明确定义的语法学习起来更加简单。
- **易于阅读**: Python代码定义的更清晰。
- **易于维护**: Python的成功在于它的源代码是相当容易维护的。
- **一个广泛的标准库**: Python的最大的优势之一是丰富的库跨平台的在UNIXWindows和Macintosh兼容很好。
- **互动模式**: 互动模式的支持,您可以从终端输入执行代码并获得结果的语言,互动的测试和调试代码片断。
- **可移植**: 基于其开放源代码的特性Python已经被移植也就是使其工作到许多平台。
- **可扩展**: 如果你需要一段运行很快的关键代码或者是想要编写一些不愿开放的算法你可以使用C或C++完成那部分程序然后从你的Python程序中调用。
- **数据库**: Python提供所有主要的商业数据库的接口。
- **GUI编程**: Python支持GUI可以创建和移植到许多系统调用。
- **可嵌入**: 你可以将Python嵌入到C/C++程序,让你的程序的用户获得"脚本化"的能力。

25
python/README_en.md Normal file
View File

@ -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.