python 3.8

huuchaulive

New member
## Python 3.8: Có gì mới?

Python 3.8 được phát hành vào ngày 14 tháng 10 năm 2019 và đây là bản phát hành chính mới nhất của ngôn ngữ lập trình Python.Python 3.8 bao gồm một số tính năng và cải tiến mới, bao gồm:

*** Cú pháp mới: ** Python 3.8 giới thiệu một số tính năng mới cho cú pháp của ngôn ngữ, bao gồm:
* F-Strings: F-Strings là một cách mới để định dạng chuỗi và chúng ngắn gọn hơn nhiều so với hàm định dạng () cũ.
* Toán tử Walrus: Toán tử Walrus :) =) cho phép bạn gán một giá trị cho một biến trong cùng một biểu thức mà bạn sử dụng để khởi tạo nó.
* Đối số chỉ có vị trí: Các đối số chỉ dành cho vị trí cho phép bạn chỉ định rằng các đối số nhất định cho một hàm phải được truyền theo vị trí, và không theo tên.
*** Hiệu suất được cải thiện: ** Python 3.8 bao gồm một số cải tiến hiệu suất, bao gồm:
* Thực hiện nhanh hơn: Python 3.8 nhanh hơn các phiên bản trước của Python, nhờ một số tối ưu hóa.
* Dấu chân bộ nhớ nhỏ hơn: Python 3.8 sử dụng ít bộ nhớ hơn các phiên bản trước của Python.
* Bộ sưu tập rác cải tiến: Bộ thu gom rác của Python 3.8 hiệu quả hơn so với các phiên bản Python trước đây.
*** Thư viện mới: ** Python 3.8 bao gồm một số thư viện mới, bao gồm:
* Thư viện Asyncio đã được cập nhật để hỗ trợ các nhiệm vụ và tương lai.
* Thư viện AST đã được cập nhật để hỗ trợ các tính năng mới trong Python 3.8.
* Thư viện bộ sưu tập đã được cập nhật để bao gồm các cấu trúc dữ liệu mới.

Để biết thêm thông tin về các tính năng mới trong Python 3.8, hãy xem [Ghi chú phát hành chính thức] (https://docs.python.org/3/whatsnew/3.8.html).

## hashtags

* #Python
* #python3
* #Python3.8
* #các tính năng mới
* #PythonImprovements
=======================================
## Python 3.8: What's New?

Python 3.8 was released on October 14, 2019, and it is the latest major release of the Python programming language. Python 3.8 includes a number of new features and improvements, including:

* **New syntax:** Python 3.8 introduces a number of new features to the language's syntax, including:
* f-strings: f-strings are a new way to format strings, and they are much more concise than the old format() function.
* walrus operator: The walrus operator :)=) allows you to assign a value to a variable in the same expression that you use to initialize it.
* positional-only arguments: Positional-only arguments allow you to specify that certain arguments to a function must be passed by position, and not by name.
* **Improved performance:** Python 3.8 includes a number of performance improvements, including:
* Faster execution: Python 3.8 is faster than previous versions of Python, thanks to a number of optimizations.
* Smaller memory footprint: Python 3.8 uses less memory than previous versions of Python.
* Improved garbage collection: Python 3.8's garbage collector is more efficient than previous versions of Python.
* **New libraries:** Python 3.8 includes a number of new libraries, including:
* The asyncio library has been updated to support Tasks and Futures.
* The ast library has been updated to support new features in Python 3.8.
* The collections library has been updated to include new data structures.

For more information on the new features in Python 3.8, see the [official release notes](https://docs.python.org/3/whatsnew/3.8.html).

## Hashtags

* #Python
* #python3
* #python3.8
* #NewFeatures
* #PythonImprovements
 
Join ToolsKiemTrieuDoGroup
Back
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock