跳转至

471-480

Issue #471 Python C Extensions Can Be Slow, How To Make Jupyter Notebooks Interactive, Building a Platform Game in Python, and More May 4, 2021

Cite

python 3.10.0b1 is now available Python 3.8.10 and 3.9.5 have also been released. CPYTHON DEV BLOG

3.8还没用上呢

可以,微软也动心了

Cite

Simplify Python GUI Development With PySimpleGUI
In this step-by-step course, you’ll learn how to create a cross-platform graphical user interface (GUI) using Python and PySimpleGUI. A graphical user interface is an application that has buttons, windows, and lots of other elements that the user can use to interact with your application. REAL PYTHON COURSE

课程没看

看FastAPI的时候看到了好几次,只有等async的周边都完善了async才能考虑出场

Issue #472 The Quest for Faster Python, Performance as the Nemesis of Secure Code, How to Use Stacks and Queues, and More May 11, 2021

Cite

The Quest for Faster Python
There seems to be a lot going on in the Python JIT compiler space. Facebook recently open-sourced Instagram’s Cinder runtime, Pyston 2 returned as an open-source project, and the Pyjion project from Microsoft continues to grow. But Python creator Guido van Rossum has suggested that Python developers in need of more performance should consider writing parts of their code as C extensions, or use the PyPy runtime. This article explores Pythons turbulent history with performance optimization. TIM ANDERSON

https://github.com/facebookincubator/cinder

好东西,我选择Pycharm

监控系统readme连个截图都没得?

Issue #473 Land a Starship With Python, Async in Flask 2.0, Gaming on the BBC micro:bit, and More May 18, 2021

Cite

Async in Flask 2.0
This article looks at Flask 2.0’s new async functionality and how to leverage it in your Flask projects. You’ll learn how Flask processes requests asynchronously using a traditional WSGI server, instead of the ASGI server used by many other async web frameworks. You’ll also learn how to simulate Flask 2.0 async in Flask 1.X applications. PATRICK KENNEDY • Shared by Patrick Kennedy

等生态

Issue #474 Running a One-Woman Hardware Company, Building a Django Blog, Understanding Django Sessions, and More May 25, 2021

Cite

What Is WSGI and Why Do You Need Gunicorn and nginx in Django?
Django is one of the most popular Python web frameworks. But you can’t run a web application with Django alone. You need a host of other tools in place to deploy a Django project, from a server to run your application to a server to handle incoming requests. In this article, you’ll learn about Gunicorn and Nginx and how they work together with Django to deliver a web application to your users. DENIS OREHOVSKY • Shared by Denis

一般

1

Issue #475 Detecting Deforestation From Satellite Images, Python Virtual Environment With conda, Matplotlib Scatter Plots, and More June 1, 2021

Cite

pipx Is Now a PyPA Member Project
TWITTER.COM/PRADYUNSG

venv+pip

Cite

Python 3.10.0b2 Is Available
CPYTHON DEV BLOG

激动人心的match pattern

Cite

Why Python 4.0 Might Never Arrive, According to Its Creator
Redditors discuss Guido van Rossum’s thoughts on why he and the core development team aren’t thrilled about a Python 4 release. REDDIT

1

Issue #476 70+ Python Projects, PEP 654 and Exception Groups, Context Managers, and More June 8, 2021

Cite

PEP 654: Exception Groups and except*
Currently, Python’s exception handling mechanisms only allow you to focus on a single exception at a time. PEP 654, which is still in draft, aims to change that by adding to the Python language the concept of an exception group. Learn about this proposed feature in this article covering the discussion about exception groups from the 2021 Python Language Summit JOANNA JABLONSKI

捕获多个异常?

Cite

PyCharm 2021.2 EAP Has Started
Try out new features and provide feedback on the latest, unreleased version of PyCharm. JETBRAINS.COM

继vs code之后,pycharm也内置浏览器了嘛,我直接好家伙

Cite

Create Web Applications Using Only Python With Anvil
What if you could create an application and deploy it to the web with just Python? Wouldn’t it be nice to skip the additional full-stack development steps of learning three different languages in addition to Python? That’s the idea behind Anvil. This week on the Real Python Podcast, we have Meredydd Luff, co-founder of Anvil. REAL PYTHON PODCAST

https://anvil.works/

拖拽+编程

学习成本有点高,感觉没啥前途

还行

Issue #477 Python vs. Excel, Python CSV Practice Problems, Analyzing LEGO Prices, and More June 15, 2021

Cite

Mypy 0.900 Released
MYPY-LANG.BLOGSPOT.COM

才0.9版本

Issue #478 Pivot and Plot Data With Pandas, The Future of FastAPI and Pydantic, Complex Numbers in Python, And More June 22, 2021

Cite

Python 3.10.0b3 Is Available
CPYTHON DEV BLOG

yyds

Cite

How to Troubleshoot Memory Problems in Python
Memory problems can be frustrating. They’re hard to diagnose and fix, and memory issues in Python applications can be especially frustrating thanks to the language’s garbage collection system. In this article, you’ll learn a six-step process for troubleshooting memory problems that the EvalML team used to solve a tricky problem with their library. FREDDY BOULTON

并没有什么用

啥玩意

Issue #479 Subclassing in Python, Correlation Analysis 101, Reversion Python Lists and Beyond, And More June 29, 2021

Cite

Functools: The Power of Higher-Order Functions in Python
The functools module is one of the “hidden gems” of the Python standard library. This article takes you on a tour of everything in functools. You’ll learn how to implement caching, function overloading, and a whole lot more. MARTIN HEINZ • Shared by Martin Heinz

python的设计真的是优雅又优秀,解放了程序员

Issue #480 Python Typeclasses, Custom DRF Permissions Classes, How to Count in Python, and More July 6, 2021

Cite

Why is a, b = b, a not always equivalent to b, a = a, b?
In Python you can swap the values of two variables without creating a temporary variable. So, if you have two variables a = 1 and b = 2, you can swap their values using a, b = b, a. Now a has the value 2 and b has the value 1. So shouldn’t b, a = a, b do the same thing? In most cases, it will, but one user on Stack Overflow found an instance where they don’t, and the explanation gets into the nitty-gritty about how assignments are evaluated. STACK OVERFLOW

稀奇古怪的问题不看

Cite

plotext: Plotting in the Terminal
GITHUB.COM/PICCOLOMO

都啥玩意

评论