监狱中学 Python 改变人生

原文: PyCoder's Weekly - Issue #403

PyCoder

  • 200115 Zoom.Quiet(大妈) 用时 42 分钟 完成快译
  • 200115 Zoom.Quiet(大妈) 用时 17 分钟 完成格式转抄.

Ned was getting reports for a mysterious disk I/O bug in the latest coverage.py release and asked the community for help. Read the crowd-sourced diagnosis on Hacker News and Ned’s follow-up post next. What a journey…

(是也乎:

最喜欢这种故事了...总是展现出软件工程的诗意来

)

“2020 is going to be the year of ‘no code’: the movement that say you can write business logic and even entire applications without having the training of a software developer. I empathise with people doing this, and I think some of the ‘no code’ tools are great. But I also thing it’s wrong at heart.”

(是也乎:

机械代码->编译代码->高级代码->DSL->低代码->无码科技...

嗯哼,突然 发现 fenng 的前瞻能力哪

)

“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.”

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.

(是也乎:

gui

图形界面开发之路...

)

Lessons learned from Mercurial’s Python 3 porting effort and a more opinionated commentary of the transition to Python 3 and the Python language ecosystem as a whole. A great read about the mechanics of porting a large Python project to Python 3.

(是也乎:

hg 真心命不好, 就是因为爹没 Linus 知名,所以, 这么好的 DVCS 工具, 一直被 git 压制.

但是,真正好用, 俺一直在服务端配置 hg 内置 web 服务来配合 hooks, 完成要很多其它工具配合才能完成的自动化并版本化配置同步.

)

How to leverage single and multiple inheritance in your object-oriented Python code using the built-in super() function.

How open source programming can offer opportunities after incarceration.

(是也乎:

社区, 永远是社区的力量...

)

讨论

Discussions

文章,教程和嗯哼

Articles, Tutorials and Talks

In this step-by-step tutorial, you’ll get started with logistic regression in Python. Classification is one of the most important areas of machine learning, and logistic regression is one of its basic methods. You’ll learn how to create, evaluate, and apply a model to make predictions.

(是也乎:

Logistic

逻辑回归...真蟒 开始深入非通用知识点了...

)

Server-assisted client-side caching is a new capability added in Redis version 6. It is intended to assist the management of a local cache by having the server send invalidation notifications. The server tracks the keys accessed by a client and notifies the client when these change.

In this tutorial, you’ll gain a working knowledge of the various factors that combine to keep communications over the Internet safe. You’ll see concrete examples of how to keep information secure and use cryptography to build your own Python HTTPS application.

(是也乎:

HTTPS

这么解释加密:

secret

)

“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.”

(是也乎:

等等, Bokeh 本身不就是 Py 的模块由脚本执行的?

)

This tutorial looks at how to develop and test an asynchronous API with FastAPI, Postgres, Pytest, and Docker using Test-Driven Development (TDD).

(是也乎:

FastAPI/Pytest 强强联手.

)

“This article will talk about a cool project I’ve worked on recently — a full Python interpreter running inside the Linux kernel”

(是也乎:

等等, 可是这有什么好处?

让 shell 可以直接使用 Python 内置的所有模块?

)

A Pythonista’s (almost) no-code solution to building a website with the Python-based MkDocs static site generator.

(是也乎:

in a Day?

10分钟就足够了:

Home — 蟒营™ 怂怼录 蟒营™ Python 入门班第5期 ...

这些都是用 MkDocs 通过 github-pages 发布的

)

What happens from when a browser makes a request to how Django receives the request and sends back a response.

好物

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

nfstream

很有诚意的项目...

)

(是也乎:

每年都有下一个一代的作品出现, 当然, 都是号称, 一切得看历史以及程序猿们的选择.

)

(是也乎:

CleverCSV

这才是真正需要的东西, 特别是从 Excel 导出的 csv 们...

USAGE
  clevercsv [-h] [-v] [-V] <command> [<arg1>] ... [<argN>]

ARGUMENTS
  <command>       The command to execute
  <arg>           The arguments of the command

GLOBAL OPTIONS
  -h (--help)     Display this help message.
  -v (--verbose)  Enable verbose mode.
  -V (--version)  Display the application version.

AVAILABLE COMMANDS
  code            Generate Python code for importing the CSV file.
  detect          Detect the dialect of a CSV file
  help            Display the manual of a command
  standardize     Convert a CSV file to one that conforms to RFC-4180.
  view            View the CSV file on the command line using TabView

)

(是也乎:

叕一个 ML 的后代... 人们总是在寻求又灵魂又兼顾又规整又图灵完备的配置格式.

)

(是也乎:

所以, 早就说过:

人生苦短
Python当歌(go)

go 和 py 不分家咯:

import time
from gostyle import go
def test_thread(title:str):
    while True:
        time.sleep(1)
        print(title)
# Start the thread 
go(test_thread)("Call")

)

(是也乎:

没错, 基于 Redis 的, 很老牌了...

)

📆🐍 活动/大会

Events, MeetUp 真的是全球线下活动组织中心

DAMA

❤️ Happy Pythonic ;-(大妈私人无责任播报)

(( ̄▽ ̄):

第4期马上结业:

200112 按时结束

年后第5期就来:

20.2.3  可以上线
20.2.20 报名截止
20.3.1  正式开课

)

(是也乎:

网红小视频也出现了...

最后3秒, Python 疯狂反转一切.

)

是也乎

NN 3893


Comments