mirror of
https://github.com/LCTT/TranslateProject.git
synced 2024-12-26 21:30:55 +08:00
translating
This commit is contained in:
parent
0f7522aa89
commit
10b7a85630
@ -1,58 +0,0 @@
|
||||
[#]: subject: "8 surprising things I learned about Python in 2021"
|
||||
[#]: via: "https://opensource.com/article/22/1/python-roundup"
|
||||
[#]: author: "Sumantro Mukherjee https://opensource.com/users/sumantro"
|
||||
[#]: collector: "lujun9972"
|
||||
[#]: translator: "geekpi"
|
||||
[#]: reviewer: " "
|
||||
[#]: publisher: " "
|
||||
[#]: url: " "
|
||||
|
||||
8 surprising things I learned about Python in 2021
|
||||
======
|
||||
Opensource.com authors shed light on new ways to use the popular
|
||||
programming language.
|
||||
![Hands on a keyboard with a Python book ][1]
|
||||
|
||||
Python has long been one of the most popular programming languages, but that doesn't mean there's nothing new to learn. This list of Opensource.com's most-read articles about Python is an excellent place to start.
|
||||
|
||||
* Widespread adoption of machine learning is here, and its applications are still growing. See how machine learning, using [Naïve Bayes][2] classifiers and implemented with Python, can solve real-life problems.
|
||||
|
||||
* The transition to Python 3 is complete, but enhancements keep coming. Seth Kenlon highlights [five hidden gems in Python 3][3] that stand out among recent improvements.
|
||||
|
||||
* Openshot has been one of the best options for Linux video editing for years. This popular article will show you how you, too, can [edit video on Linux][4] with this Python app.
|
||||
|
||||
* The best part of Python is the limitless possibilities a programmer can achieve. [Cython][5] is a compiler that will not only help speed up code execution but also let users write C extensions for Python.
|
||||
|
||||
* Python can make API unit testing simpler. Miguel Brito shows you [three ways to test your API][6] with Python.
|
||||
|
||||
* As computation power increases, more and more programs run concurrently. That can make it challenging to debug, log, and profile what's going wrong. [VizTracer][7] was created to solve exactly that problem.
|
||||
|
||||
* Users' personal projects, big and small, are a good reminder of how much fun open source coding can be. Here's an inspirational one: how Opensource.com author Darin London [monitors his greenhouse][8] using CircuitPython.
|
||||
|
||||
* Linux users often encounter programs requiring a lot of command-line arguments that are not pleasant to work with. This is a [nice configuration parsing hack][9] to make life easier.
|
||||
|
||||
|
||||
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: https://opensource.com/article/22/1/python-roundup
|
||||
|
||||
作者:[Sumantro Mukherjee][a]
|
||||
选题:[lujun9972][b]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]: https://opensource.com/users/sumantro
|
||||
[b]: https://github.com/lujun9972
|
||||
[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/python-programming-code-keyboard.png?itok=fxiSpmnd (Hands on a keyboard with a Python book )
|
||||
[2]: https://opensource.com/article/21/1/machine-learning-python
|
||||
[3]: https://opensource.com/article/21/7/python-3
|
||||
[4]: https://opensource.com/article/21/2/linux-python-video
|
||||
[5]: https://opensource.com/article/21/4/cython
|
||||
[6]: https://opensource.com/article/21/9/unit-test-python
|
||||
[7]: https://opensource.com/article/21/3/python-viztracer
|
||||
[8]: https://opensource.com/article/21/5/monitor-greenhouse-open-source
|
||||
[9]: https://opensource.com/article/21/6/parse-configuration-files-python
|
@ -0,0 +1,57 @@
|
||||
[#]: subject: "8 surprising things I learned about Python in 2021"
|
||||
[#]: via: "https://opensource.com/article/22/1/python-roundup"
|
||||
[#]: author: "Sumantro Mukherjee https://opensource.com/users/sumantro"
|
||||
[#]: collector: "lujun9972"
|
||||
[#]: translator: "geekpi"
|
||||
[#]: reviewer: " "
|
||||
[#]: publisher: " "
|
||||
[#]: url: " "
|
||||
|
||||
我在 2021 年学到的关于 Python 的 8 个令人惊讶的东西
|
||||
======
|
||||
Opensource.com 的作者们揭示了使用这一流行的编程语言的新方法。
|
||||
![Hands on a keyboard with a Python book ][1]
|
||||
|
||||
长期以来,Python 一直是最受欢迎的编程语言之一,但这并不意味着没有什么新东西可学。Opensource.com 上关于 Python 的阅读量最大的文章列表是一个很好的开始。
|
||||
|
||||
* 机器学习的广泛采用已经到来,其应用仍在增长。看看使用 [Naïve Bayes][2] 分类器并通过 Python 实现的机器学习如何解决现实生活中的问题。
|
||||
|
||||
* 向 Python 3 的过渡已经完成,但增强功能不断涌现。Seth Kenlon 强调了[Python 3 中的五颗隐藏的宝石][3],它们在最近的改进中脱颖而出。
|
||||
|
||||
* Openshot 多年来一直是 Linux 视频编辑的最佳选择之一。这篇受欢迎的文章将告诉你,你也可以用这个 Python 应用[在 Linux 上编辑视频][4]。
|
||||
|
||||
* Python 最好的部分是一个程序员可以实现的无限可能。[Cython][5] 是一个编译器,不仅可以帮助加快代码执行速度,还可以让用户为 Python 编写 C 语言扩展。
|
||||
|
||||
* Python可以使 API 单元测试更简单。Miguel Brito 向你展示了[用 Python 测试 API 的三种方法][6]。
|
||||
|
||||
* 随着计算能力的提高,越来越多的程序在并发运行。这可能会使调试、日志记录和剖析出错的地方成为挑战。[VizTracer][7] 正是为了解决这个问题而创建的。
|
||||
|
||||
* 用户的个人项目,无论大小,都很好地提醒我们开源编码可以有多大的乐趣。这里有一个鼓舞人心的项目:Opensource.com 的作者 Darin London 如何使用 CircuitPython [监控他的温室][8]。
|
||||
|
||||
* Linux 用户经常会遇到需要大量命令行参数的程序,这让人很不爽。这是一个[不错的配置解析技巧][9],可以让生活更轻松。
|
||||
|
||||
|
||||
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: https://opensource.com/article/22/1/python-roundup
|
||||
|
||||
作者:[Sumantro Mukherjee][a]
|
||||
选题:[lujun9972][b]
|
||||
译者:[geekpi](https://github.com/geekpi)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]: https://opensource.com/users/sumantro
|
||||
[b]: https://github.com/lujun9972
|
||||
[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/python-programming-code-keyboard.png?itok=fxiSpmnd (Hands on a keyboard with a Python book )
|
||||
[2]: https://opensource.com/article/21/1/machine-learning-python
|
||||
[3]: https://opensource.com/article/21/7/python-3
|
||||
[4]: https://opensource.com/article/21/2/linux-python-video
|
||||
[5]: https://opensource.com/article/21/4/cython
|
||||
[6]: https://opensource.com/article/21/9/unit-test-python
|
||||
[7]: https://opensource.com/article/21/3/python-viztracer
|
||||
[8]: https://opensource.com/article/21/5/monitor-greenhouse-open-source
|
||||
[9]: https://opensource.com/article/21/6/parse-configuration-files-python
|
Loading…
Reference in New Issue
Block a user