441-450¶
Issue #441 Python 3.9 Released, Rich Comparisons, Streamlit Games, and More Oct. 6, 2020¶
Cite
Cool New Features in Python 3.9
In this course, you’ll explore some of the coolest and most useful features in the newly released Python 3.9. You’ll learn how Python 3.9 makes it easier to work with time zones, dictionaries, decorators, and several other techniques that will make your code cleaner and more efficient.
REAL PYTHONCOURSE
收费
Cite
The Magic of Python Context Managers
Learn the ins and outs of context managers, including some recipes that will make your code more readable, reliable, and less error prone
TOWARDSDATASCIENCE.COM• Shared byMartin Heinz
有点优雅 但是没怎么用过
Cite
Python Insider: Python 3.9.0 Is Now Available, and You Can Already Test 3.10.0a1!
CPYTHON DEV BLOG
yeah
Cite
Poetry 1.1.0 Released
PYTHON-POETRY.ORG
时常瞅一眼这个玩意
Cite
Not All Floats Between 0 and 1 Are Possible Return Values Fromrandom()
RAYMOND HETTINGER
interesting
Cite
Python 3.9: Cool New Features for You to Try
In this article, you’ll explore some of the coolest and most useful features in the newly released Python 3.9. You’ll learn how Python 3.9 makes it easier to work with time zones, dictionaries, decorators, and several other techniques that will make your code cleaner and more efficient.
REAL PYTHON
没看到啥惊喜的
Issue #442 Python 3.9 Follow-Up, PSF Python Survey 2020, Upcoming pip Changes, Web Scraping, and More Oct. 13, 2020¶
Cite
Python Developers Survey 2020
“This is the fourth iteration of the official Python Developers Survey. With this survey, we aim to understand how the world of Python development looks today and how it compares to last year. In 2019, over 24,000 Python developers from 150 countries responded sharing their opinions and helping us get an accurate picture of the Python community.”
PSF & JETBRAINS
参加了
Cite
Changes to the pip Dependency Resolver in 20.2
Changes in the behavior ofpip installwill reduce inconsistency and make it stricter. Pip will no longer install a combination of packages that is mutually inconsistent and if you ask pip to install two packages with incompatible requirements, it will refuse (rather than installing a broken combination, like it did in previous versions).These changes will become the default in pip 20.3, due to be released in October.
PYPA.IO
user guide
Cite
pip searchUser Feedback Survey
The pip team are considering removingpip search, or changing the way that it works. To help inform our decision, please tell us about your experience usingpip search.
PIP TEAM
没做
Cite
Python Release Cycle Visualization
DUSTIN INGRAM
1
Cite
Python For Feature Film
A look into how Python is used to bring your favorite movies to the big screen.
DHRUV GOVIL
什么玩意
Cite
Getting Started With MicroPython
Are you interested in the Internet of Things, home automation, and connected devices? If so, then you’re in luck! In this course, you’ll learn about MicroPython and the world of electronics hardware. You’ll set up your board, write your code, and deploy a MicroPython project to your own device.
REAL PYTHONCOURSE
MicroPython物联网
Cite
type()vs.isinstance()
What’s the difference betweentype()andisinstance()methods, and which one is better for checking the type of an object?
SEBASTIAN WITOWSKI
isinstance还可以检查子类,一句话也要写个文章
Cite
pandasgui: A GUI for Pandas DataFrames
GITHUB.COM/ADAMEROSE
感觉还不错
Issue #444 A Faster CPython, Modulo in Practice, Isolating Code, and More Oct. 27, 2020¶
Cite
Creating a Binary Search in Python
Binary search is a classic algorithm in computer science. In this step-by-step course, you’ll learn how to implement this algorithm in Python. You’ll learn how to leverage existing libraries as well as craft your own binary search Python implementation.
REAL PYTHON
看不到
Cite
Faster-Cpython: How to Make CPython Faster
GITHUB.COM/MARKSHANNON
还没开始 https://github.com/markshannon/faster-cpython/blob/master/plan.md
Issue #445 Fourier Transforms, Executing Bytecode, Python Simulations, and More Nov. 3, 2020¶
Cite
Python Behind the Scenes #4: How Python Bytecode Is Executed
Here’s a joke you may have heard from Python developers: “Is Python interpreted or compiled? Yes.” When your program runs, the Python source code is compiled to bytecode. This in-depth article explores how bytecode gets executed.
VICTOR SKVORTSOV
感觉干货很多,看一下整个系列
Cite
vscode-stories: Stories for VSCode
GITHUB.COM/BENAWAD
vscode的插件,用来分享代码片段
Cite
code-video-generator: Generates Code Walkthrough Videos Using Manim
GITHUB.COM/SLEUTH-IO
好像是个做视频的?
Issue #446 Key Driver Analysis, Defaultdicts, Unladen Swallows, and More Nov. 10, 2020¶
Cite
The World Needs Women Who Code
Author Seema Saharan argues that now is better than ever for women to get started in the tech industry. Learn how she got started with coding, why she enjoys it, and why women should consider learning to code. The article is full of resources to help aspiring women coders get started with Python.
SEEMA SAHARAN
嗯
Issue #447 Python on .NET, Malicious Packages, Quantum Computing, and More Nov. 17, 2020¶
Cite
PyPy: Faster Python With Minimal Effort
In this tutorial, you’ll learn how you can use PyPy to improve the speed of your applications. You’ll see how PyPy compares with other Python implementations like CPython and learn about features that you can use to gain significant performance boosts without making changes to your code.
REAL PYTHON
总体来讲还是比CPython快很多的
缺点是
- 跟C拓展不兼容,用起来会很慢,如果可以建议把C拓展换成纯Python实现的
- PyPy基本只适用于长时间运行的程序,如果只是一个简单的脚本,大可不必
- PyPy的解释器还是动态的,不能像C一样直接编译成可执行文件
Cite
Running Python on .NET 5
Pyjion is an alternative to the CPython runtime that compiles Python to ECMA CIL and uses .NET common language runtime to compile the CIL to machine code. Learn how Pyjion works, how it compares to other Python runtimes, and what the future holds for the project.
ANTHONY SHAW
挺好,用不到
Cite
Wrapping C++ With Cython, Part I
Learn how to wrap a C++ library with Cython in order to expose a Python API.
ANTON ZHDAN-PUSHKIN• Shared byAnton ZHdan-Pushkin
感觉有点高端,估计短时间内用不到,mark一下
Cite
Guido van Rossum (Creator of Python) Now Works at Microsoft
Retirement was “boring.”
TWITTER.COM/GVANROSSUM
https://twitter.com/gvanrossum/status/1326932991566700549 退休太无聊了
Cite
Python and PyQt: Creating Menus, Toolbars, and Status Bars
In this step-by-step tutorial, you’ll learn how to create, customize, and use Python menus, toolbars, and status bars for creating GUI applications using PyQt.
REAL PYTHON
有一说一 还是ugly
Cite
73 Examples to Help You Master Python’s f-Strings
f-Strings might be one of the most beloved features in Python 3.6+. Here are 73 examples of how to use f-strings to improve your Python code.
MIGUEL BRITO
讲的挺好,就是有点多没看完
Issue #448 Synthetic Data, Reproducible Conda Environment, Regular Expressions, and More Nov. 24, 2020¶
Cite
PyInstaller 4.1 Supports Python 3.8 and 3.9
PYINSTALLER.READTHEDOCS.IO
挺好
Cite
yappi: Yet Another Python Profiler
GITHUB.COM/SUMERC
Pycharm也可以用 https://www.jetbrains.com/help/pycharm/profiler.html
Issue #449 Unravelling Nots, PyQt Layouts, New Pip Dependency Resolver, and More Dec. 1, 2020¶
Cite
Unravellingnotin Python
In the next blog post in his series about Python’s syntactic sugar, Brett Cannon tackles what would seem to be a very simple bit of syntax, but which actually requires diving into multiple layers to fully implement:not.
BRETT CANNON
1
Cite
PyQt Layouts: Create Professional-Looking GUI Applications
In this step-by-step tutorial, you’ll learn how to use PyQt layouts to arrange and manage the graphical components on your GUI applications. With the help of PyQt’s layout managers, you’ll be able to create polished and professional GUIs with minimal effort.
REAL PYTHON
拉到最下看了眼效果还是觉得很丑
Cite
Python Type Checking
What is type checking? Why do we need it? What’s the difference between static and runtime type checking?
JAN GIACOMELLI
好长啊
Cite
Why Does Python Detect the Symbol “²” as a Digit?
TIL that.isdigit()works with superscripts
STACK OVERFLOW
可以处理上标
Issue #450 ORMs, Numerical Precision, PyQt and SQL, and More Dec. 8, 2020¶
Cite
Why Should You Use an ORM (Object Relational Mapper)?
Budding web developers learning Model-View-Controller frameworks are taught that they should use an Object Relational Mapper (ORM) to interface with their databases. But the “why” is often brushed aside or omitted entirely, leaving a fledgling programmer with burning questions like ”What are ORMs, anyway?” and “What problems do they solve?”
KARIM MARZOUQ• Shared byKarim Marzouq
用就完事了
Cite
Storing alistin anint
For a fun exercise, learn how you can leverage Python’s unlimited integer precision to encode and store lists of any size as a single integer. Because, why not?
IAN TAYLER
花里胡哨