|
1 |
| -# 0. The Python Tutorial |
| 1 | +--- |
| 2 | + |
| 3 | +--- |
2 | 4 |
|
3 |
| -Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python’s elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms. |
| 5 | +# 0. Hướng dẫn Python |
4 | 6 |
|
5 |
| -The Python interpreter and the extensive standard library are freely available in source or binary form for all major platforms from the Python Web site, [https://www.python.org/](https://www.python.org/), and may be freely distributed. The same site also contains distributions of and pointers to many free third party Python modules, programs and tools, and additional documentation. |
| 7 | +Python là một ngôn ngữ lập trình mạnh mẽ, dễ học. Nó có cấu trúc dữ liệu cấp cao hiệu quả và cách tiếp cận đơn giản nhưng hiệu quả cho lập trình hướng đối tượng. Cú pháp và tính năng động của Python, một ngôn ngữ thông dịch, làm cho nó trở thành một ngôn ngữ lý tưởng cho việc viết kịch bản và phát triển ứng dụng nhanh trong nhiều lĩnh vực trên hầu hết các nền tảng. |
6 | 8 |
|
7 |
| -The Python interpreter is easily extended with new functions and data types implemented in C or C++ \(or other languages callable from C\). Python is also suitable as an extension language for customizable applications. |
| 9 | +Trình thông dịch Python và thư viện chuẩn mở rộng có sẵn miễn phí dưới dạng nguồn hoặc nhị phân cho tất cả các nền tảng chính từ trang Web Python, [https://www.python.org/](https://www.python.org/), và có thể được phân phối tự do. Cùng một trang cũng chứa các bản phân phối và các con trỏ tới nhiều mô-đun, chương trình và công cụ Python miễn phí của bên thứ ba, và tài liệu bổ sung. |
8 | 10 |
|
9 |
| -This tutorial introduces the reader informally to the basic concepts and features of the Python language and system. It helps to have a Python interpreter handy for hands-on experience, but all examples are self-contained, so the tutorial can be read off-line as well. |
| 11 | +Trình thông dịch Python có thể dễ dàng mở rộng với các hàm và kiểu dữ liệu mới được triển khai trong C hoặc C ++ \ (hoặc các ngôn ngữ khác có thể gọi từ C \). Python cũng thích hợp như một ngôn ngữ mở rộng cho các ứng dụng tùy biến |
10 | 12 |
|
11 |
| -For a description of standard objects and modules, see [The Python Standard Library](https://docs.python.org/3/library/index.html#library-index). [The Python Language Reference](https://docs.python.org/3/reference/index.html#reference-index) gives a more formal definition of the language. To write extensions in C or C++, read [Extending and Embedding the Python Interpreter](https://docs.python.org/3/extending/index.html#extending-index) and [Python/C API Reference Manual](https://docs.python.org/3/c-api/index.html#c-api-index). There are also several books covering Python in depth. |
| 13 | +Hướng dẫn này giới thiệu người đọc không chính thức với các khái niệm cơ bản và các tính năng của ngôn ngữ và hệ thống Python. Nó giúp để có một trình thông dịch Python thuận tiện cho trải nghiệm thực hành, nhưng tất cả các ví dụ đều là khép kín, vì vậy hướng dẫn có thể được đọc ngoại tuyến. |
12 | 14 |
|
13 |
| -This tutorial does not attempt to be comprehensive and cover every single feature, or even every commonly used feature. Instead, it introduces many of Python’s most noteworthy features, and will give you a good idea of the language’s flavor and style. After reading it, you will be able to read and write Python modules and programs, and you will be ready to learn more about the various Python library modules described in [The Python Standard Library](https://docs.python.org/3/library/index.html#library-index). |
| 15 | +Để biết mô tả về các đối tượng và mô-đun chuẩn, hãy xem [The Python Standard Library](https://docs.python.org/3/library/index.html#library-index). [The Python Language Reference](https://docs.python.org/3/reference/index.html#reference-index) đưa ra một định nghĩa chính thức hơn về ngôn ngữ. Để viết các phần mở rộng trong C hoặc C ++, hãy đọc [Extending and Embedding the Python Interpreter](https://docs.python.org/3/extending/index.html#extending-index) and [Python/C API Reference Manual](https://docs.python.org/3/c-api/index.html#c-api-index). |
| 16 | + |
| 17 | +Hướng dẫn này không cố gắng toàn diện và bao gồm mọi tính năng đơn lẻ hoặc thậm chí mọi tính năng thường được sử dụng. Thay vào đó, nó giới thiệu nhiều tính năng đáng chú ý nhất của Python và sẽ cung cấp cho bạn ý tưởng hay về hương vị và phong cách của ngôn ngữ. Sau khi đọc nó, bạn sẽ có thể đọc và viết các mô-đun và chương trình Python, và bạn sẽ sẵn sàng tìm hiểu thêm về các mô-đun thư viện Python khác nhau được mô tả trong [The Python Standard Library](https://docs.python.org/3/library/index.html#library-index). |
14 | 18 |
|
0 commit comments