~ 文章, Blog, 教程...

The Python subprocess module is a powerful swiss-army knife for launching and interacting with child processes. It comes with several high-level APIs like call, check_output and (starting with Python 3.5) run that are focused at child processes our program runs and waits to complete. In this post I want to discuss a variation of this task that is less directly addressed - long-running child processes.


作者脑补出了几种方案, 但是,都不嗯哼... 其实吧长时间运行, 要不服务化, 要不事务化, 就别想着中间还能嗯哼什么, 毕竟这是冯机体系不是代码和运行时一致的 LISP 世界. )

One of the things I’ve been thinking about recently is how to do natural language processing (NLP) effectively with deep neural networks using real world language examples. An example would be to classify the youtube comment

The Union of Concerned Scientists maintains a database of ~1000 Earth satellites. For the majority of satellites, it includes kinematic, material, electrical, political, functional, and economic characteristics, such as dry mass, launch date, orbit type, country of operator, and purpose. The data appears to have been mirrored on other satellite search websites, e.g. . This iPython notebook describes a sequence of interactions with a snapshot of this database using the bayeslite implementation of BayesDB, using the Python bayeslite client library. The snapshot includes a population of satellites defined using the UCS data as well as a constellation of generative probabilistic models for this population.

How you can extract meaningful information from raw text and use it to analyze the networks of individuals hidden within your data set.

Today, let’s learn how to build a simple linear regression model using Python’s Pandas and Scikit-learn libraries. Our goal is to build a model that analyses customer data and solves a problem for a (simulated) e-commerce business.


反复强调了简单的, 即无实用价值的... )

The FAT Python project was started by Victor Stinner in October 2015 to try to solve issues of previous attempts of “static optimizers” for Python. Victor has created a set of changes to CPython (Python Enhancement Proposals or “PEPs”), some example optimizations and benchmarks. We’ll explore those 3 levels in this article.

It has been a long time coming, but I am now actively migrating existing projects to Python 3. Python 3.6 specifically, because when I am done I will be able to take advantage of my new favourite feature everywhere! That feature is f-strings.


PEP-0498 的心声

Python 3.6.1 (...) 
Type "help", "copyright", "credits" or "license" for more...
>>> name = 'Albert'
>>> f'Hello, {name}!'
'Hello, Albert!'

嚓, f 算子... )

Seashells lets you pipe output from command-line programs to the web in real-time, even without installing any new software on your machine. You can use it to monitor long-running processes like experiments that print progress to the console. You can also use Seashells to share output with friends!




In this tutorial I will show you how to use Amazon Web Services (AWS) Lambda service to save the results of an API response to a PostgreSQL database on a recurring schedule.


讲真, 除非你只要个图片结果, 否则,还是多看看可以直接输出为 html 的 Bokeh



~ 包/模块/库/片段...

Very basic blockchain-free cryptocurrency PoC in Python.


UDP 环境中的简单加密... )

  • crocs
    • 334 Stars, 18 Fork

Write regex using pure python class/function syntax and test it better. (Regex for humans).


正则表达式的 pythonic 使用...


Provide hints to optimize database usage by deferring unused fields (and more).

A Python implementation of Apache Kafka Streams

This is a Python toolkit for quickly building nice looking command line interfaces.



叕一个 CLI 界面构建框架.. )

Load environment variables from a AWS S3 file.


嗯哼?将要命的环境变量部属到 S3 中?! )

( ̄▽ ̄)


嚓了个嚓... )




关于 ~ DebugUself with DAMA ;-)
点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

订阅 substack 体验古早写作:

关注公众号, 持续获得相关各种嗯哼:


**2021.01.11** 因大妈再次创业暂停定期开设, 转换为预约触发:
  • + 扫描预约入群, 学员每满 42 人即启动新一期训练营 ;-)
  • 101camp22.7
  • + 任何问题, 随时邮件提问可也: