跳转至

401-410

Issue #401 Python 2.x Support Ends Today, Reflections on Python 3, Timing Python Code, and More Dec. 31, 2019

Python 2.7 Retires Today
Python 2.7 will not be maintained past Jan 1st, 2020. So long Python 2, and thank you for your years of faithful service. Python 3, your time is now!
PYTHONCLOCK.ORG

没了

Top 10 Real Python Articles of 2019
I was a guest on Mike Kennedy’s Talk Python podcast and we discussed a shortlist of 10 interesting tutorials published on Real Python in 2019. So if you’re looking to expand your year-end reading list you’ll find some inspiration there. It’s always a treat to be on Mike’s show—definitely check out his podcast!
TALK PYTHON PODCAST

1: How to Run Your Python Scripts 各种运行Python的方法

2: 13 Project Ideas for Intermediate Python Developers
介绍了一些中级项目

3: 3 Ways of Storing and Accessing Lots of Images
三种不同的存储图片、读取图片的时间对比,以及占用空间的情况,结论就是直接存成png比较直观,但是性能不好,如果图片数量特别大的话就要考虑HDF5和LMDB

4: Speed Up Your Python Program With Concurrency
讲了多线程多进程和协程

5: Build a Recommendation Engine
2020/1/2 15:40 用协同过滤进行推荐

6: Your Guide to the Python Print Function
2020/1/2 15:41 这个好像之前看过了

7: How to Write Beautiful Python Code With PEP 8

8: How to Use Python Lambda Functions
Lambda介绍

9: How to Stand Out in a Python Interview
各种小技巧

10: Inheritance and Composition: A Python OOP Guide
继承

Magic-Wormhole: Get Things From One Computer to Another, Safely
MAGIC-WORMHOLE.READTHEDOCS.IO

在电脑之间传递文件、数据的工具

Issue #402 Ubuntu 20.04 Removes Python 2, args & *kwargs, Async Back Pressure, and More Jan. 7, 2020

20 Most-Rated Python Questions at StackOverflow in 2019
PYTHON-WEEKLY.BLOGSPOT.COM

一些问题

Issue #403 A Python Debugging Post-Mortem, Python GUIs, Porting to Python 3, and More Jan. 14, 2020

Cite

How Python Implements Super Long Integers?
“Python must be doing something beautiful internally to support super long integers and today we find out what’s under the hood. The article goes in-depth to explain design, storage, and operations on super long integers as implemented by Python.” ARPIT BHAYANI

没仔细看,反正知道秀就完事了

Cite

Python GUI Programming Learning Path
Does your Python program need a Graphical User Interface (GUI)? With this free learning path you’ll develop your Python GUI programming skills from scratch. Covers Tkinter, PyQt, wxPython, and Kivy. REAL PYTHON

还是老生常谈的那几个GUI框架

Cite

What I Learned Going From Prison to Python
How open source programming can offer opportunities after incarceration. SHADEED WALLACE-STEPTER

有点励志

Cite

Embedding Bokeh in a Script
“I really wanted to have a self-contained script that would launch Bokeh as part of its operation, rather than remembering which command line options I needed to specify.” JIM ANDERSON

bokeh 一个Python画图的库,好像之前还有一个想要取代matplotlib的库来着

Cite

HTTPX: Next-Generation HTTP Client for Python PYTHON-HTTPX.ORG

看起来和requests差不多,但是支持异步API,这是完整的对比

Issue #404 Python vs Go/C++, Making Games With Arcade, Self-Hosted Pip Repositories, and More Jan. 21, 2020

Cite

Having Some Fun With Python
Writing obfuscated code for fun and…great learning experiences! ;-) JAMES BENNETT

不看了

Issue #405 Python GUIs, Code Review Tips, pip 20.0 + CPython 3.9, and More Jan. 28, 2020

Cite

pip 20.0 Released
Default to doing a user install (as if --user was passed) when the main site-packages directory is not writeable and user site-packages are enabled, cache wheels built from Git requirements, and more. PYPA.IO

Release Notes也太长了

Cite

Python 3.9 Compatibility Changes
“With the EoL of Python 2 being in line with development of Python 3.9 there were changes made to Python 3.9 that broke a lot of packages since many deprecation warnings became errors.” KARTHIKEYAN SINGARAVELAN

新旧不兼容

Cite

Using Markdown to Create Responsive HTML Emails
This article describes how to use Python to transform a Markdown text file into a response HTML email and static page on a Pelican blog. CHRIS MOFFITT

写博客啥的

Cite

A Tiny Python Called Snek
Snek is a version of Python targeting embedded processors developed by Keith Packard. JAKE EDGE

针对嵌入式系统的删减版Python

连个结果都没有….做了个啥

Issue #406 PyPi's Most-Used Packages, Migrating to Python 3, "!=" vs "is not", Clean Code, and More Feb. 4, 2020

Cite

The 22 Most-Used Python Packages in the World
“As a starting point, I took a list of the most downloaded Python packages on PyPI over the past 365 days. Let’s dive in and find out what they do, how they’re related, and why they rank so high!” ERIK-JAN VAN BAAREN

一些最常用的库 https://pypi.org/project/python-dateutil/ 处理时间的库

Cite

Using a Flask Blueprint to Architect Your Applications
In this tutorial, you’ll learn how to use a Flask Blueprint to help you structure your application by grouping its functionality into reusable components. You’ll learn what Blueprints are, how they work, and how you can use them to organize your code. REAL PYTHON

蓝图

真是花里胡哨集大成者

Cite

gif: Better Way to Build Animated Matplotlib Gifs
GITHUB.COM/MAXHUMBER • Shared by Max Humber

从matplotlib中生成gif的包,暂时想不到啥用处

Issue #407 Python Tooling Recommendations, Playing & Recording Sound, Virtualenv 20.0, and More Feb. 11, 2020

新版本

判断图片的类型

Issue #408 PEP 614 (Decorators Syntax), Finding the Perfect Python Code Editor, Effective Testing, and More Feb. 18, 2020

Cite

Overloading Functions in Python
Python does not natively support function overloading (having multiple functions with the same name.) See how you can implement and add this functionality using common language constructs like decorators and dictionaries. Related discussion on Hacker News. ARPIT BHAYANI

用装饰器等方式强行在Python中实现重载

Cite

Python 3.9 StatsProfile
The author of the profiling API improvements coming to Python 3.9 demonstrates the feature and explains how it was added to CPython. DANIEL OLSHANSKY

cProfile模块的贡献

简单介绍

Issue #409 Django SQL Vulnerability, PEP 584 Got Merged, Python in Production, and More Feb. 25, 2020

Cite

Null in Python: Understanding Python’s NoneType Object
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. REAL PYTHON

Python中的None用来表示值为空,就像其它语言的null一样

Cite

PEP 584 PR Merged (Dictionary Union)
This will add the following dictionary operations: dict1 | dict2 (copy + update) and dict1 |= dict2 (update). See PEP 584 for example use cases. GITHUB.COM/PYTHON

完整的看了一遍pep被接收的流程

Issue #410 PyCon 2020 COVID-19 Update, Advanced Django Tips, C/C++ Python Interop, and More March 3, 2020

Cite

Python Bindings: Calling C or C++ From Python
What are Python bindings? Should you use ctypes, CFFI, or a different tool? In this step-by-step tutorial, you’ll get an overview of some of the options you can use to call C or C++ code from Python. REAL PYTHON

几种Python调用C/C++的方法

讨论

评论