431-440¶
Issue #431 Sparking Joy, Favorite Packages, the Last Python 3.9 Beta, and More July 28, 2020¶
Cite
Python Packages: Five Real Python Favorites
In this tutorial, several Real Python authors share Python packages we like to use as alternatives to modules in the standard library. You’ll get to know a number of useful packages, including pudb, requests, parse, dateutil, and typer.
REAL PYTHON
几个好用的包。命令行参数的包typer 看起来不错,有机会试试
Cite
Python 3.8.5 Released as a Security Hotfix
Python 3.9.0b5, the last beta before 3.9.0, is also available.
PYTHON.ORG
1
Cite
Why Doesn’t Python Have a main() Function?
It’s mainly about the execution model.
HACKER NEWS
Python也可以搞个main函数,把全局的那些语句放进来。因为放进来之后这里的变量就都变成局部变量了,Python解释器查找起来会更快,导致代码运行效率会更快
Cite
Python Tutorial Authors Wanted (Remote)
REAL PYTHON
没了
Cite
Python’s None: Null in Python
In this course, you’ll learn about the NoneType object None, which acts as the null in Python. This object represents emptiness, and you can use it to mark default parameters and even show when you have no result. None is a tool for doing everything with nothing!
REAL PYTHON
看不了
Issue #432 Missing Python Features, Django Admin Customization, New pip Released, and More Aug. 4, 2020¶
Cite
4 Powerful Features Python Is Still Missing
Python doesn’t have true constants, nor does it implement features like tail recursion optimization that many compiled languages employ. Find out what other features Python is “missing” when compared to other languages, and why the core developers haven’t added these features to the language.
SERDAR YEGULAP
- 真正的常量
- 函数重载
- 尾递归优化
- 多行lambda
Cite
pip 20.2 released
PYTHON.ORG • Shared by Sumana Harihareswara
1
Issue #433 Python Wheels, Django Opinions, How To Rename a Project, and More Aug. 11, 2020¶
Cite
Senior Python Developer (Remote)
CYBERCODERS
瞅瞅
Issue #434 Async Django, Web Scraping, Data API Standards, and More Aug. 18, 2020¶
Cite
Wing Python IDE 7.2.4 Released
Now supports Python 3.9!
WINGWARE.COM
瞅一眼 没用过
Cite
Python 3.9.0rc1 Is Now Available
CPYTHON DEV BLOG
牛逼
Cite
libra: Ergonomic Machine Learning for Everyone
GITHUB.COM/PALASHIO
1
Cite
aiosql: Simple SQL in Python
GITHUB.COM/NACKJICHOLSON
用不到
Cite
poetry: Python Dependency Management and Packaging Made Easy
GITHUB.COM/PYTHON-POETRY
这么久过去了 也不知道安装包速度慢的问题解决没有
Issue #435 Data Version Control, Python In Your Downloads, Common Packaging Mistakes, and More Aug. 25, 2020¶
Cite
anyio: High Level Compatibility Layer for Multiple Asynchronous Event Loop Implementations
GITHUB.COM/AGRONHOLM
用的人不是很多啊
Issue #436 Augmented Assignments, Python Data Structures, Dependency Injection, and More Sept. 1, 2020¶
f-strings is one of the best things for python 3
Cite
Python Flask Developer (Remote)
CYBERCODERS
没说多少钱啊
Cite
5 Pairs of Magic Methods in Python That You Should Know
Magic, or “dunder,” methods are an important part of creating custom classes in Python. Learn about some commonly used magic methods by exploring hem in pairs that are frequently used together.
YONG CUI
挺好
Cite
DearPyGui: A GPU Accelerated Python GUI Framework
GITHUB.COM/HOFFSTADT
看起来有点花里胡哨啊
Issue #437 Python in Space, Automate Your Morning Routine, PEP 622 Update, and More Sept. 8, 2020¶
Cite
Why Doesn’t Python Give Any Error When Quotes Around a String Do Not Match?
How well do you know your quotes?
STACK OVERFLOW
字符串相加
Cite
Python Developers Are in Demand on Vettery
Vettery is an online hiring marketplace that’s changing the way people hire and get hired. Ready for a bold career move? Make a free profile, name your salary, and connect with hiring managers from top employers today →
VETTERYSPONSOR
招聘
Cite
fastcore: An Underrated Python Library
fastcore is a Python library that extends the language with utilities designed to enhance productivity. Learn about the different features fastcore provides, and then check out the project on GitHub to learn how the features are implemented.
FAST.AI
看起来像是用Python的装饰器实现了一些增强功能,不过看的几个没有感觉到很必要,有一些特性是从别的语言学过来的,可能并不适合Python,不过还是挺有意思的
Issue #438 C/C++ and Python, The Future of Numerical Python, Interview with Michael Kennedy, and More Sept. 15, 2020¶
Cite
Under the Hood of Calling C/C++ From Python
Take a walk through internals of ctypes, libffi, binary extensions, and other tools that power seamless interoperability of CPython and C.
ANTON ZHDAN-PUSHKIN • Shared by Anton Zhdan-Pushkin
Detail的
Issue #439 Python Practice Problems, Git Internals, NumPy in Nature, and More Sept. 22, 2020¶
Cite
Where Do You Run a Script That Automates a Task?
It’s gotta run somewhere…
REDDIT
在线运行Python的网站
Issue #440 Python for Kids, Next Steps for NumPy, Syntactic Macros, and More Sept. 29, 2020¶
Cite
PEP 638: Syntactic Macros
This brand new PEP, which is still in draft mode, proposes adding support for syntactic macros to Python. Syntactic macros are compile-time functions that extend the language’s syntax without adding any new complexity to the language as a whole.
MARK SHANNON
不明觉厉
Cite
Python 3.9 Is Around the Corner
On October 5, about one year since the initial realease of Python 3.8, Python 3.9 will officially be released. This release contains interesting new features, and some significant removals from the language.
JOHN COGGESHALL
好多py39的消息
Cite
Python 3.9 Removes Backwards Compatibility Layers for Python 2.7
PYTHON.ORG
dict合并
Cite
Is Python the Most Enjoyable Language?
Does your definition of “enjoyable” allow for some occasional bashing-head-against-table moments?
REDDIT
编程语言只是工具
Cite
The Python return Statement: Usage and Best Practices
In this step-by-step tutorial, you’ll learn how to use the Python return statement when writing functions. Additionally, you’ll cover some good programming practices related to the use of return. With this knowledge, you’ll be able to write readable, robust, and maintainable functions in Python.
REAL PYTHON
讲得挺好,就是没兴趣看…
Cite
Everything You Need to Know About Python’s Namedtuples
Are you using NamedTuple in your code? If you aren’t, learn what they are and why you should consider using them in this comprehensive tutorial.
MIGUEL BRITO
看完了还是觉得有点用