~ 文章, Blog, 教程...

This article explains the new features in Python 3.7, compared to 3.6.


因为老爹没有公司任务了, 所以,开始发力社区版本? )

If you read data science articles, you may have already stumbled upon FiveThirtyEight’s content. Naturally, you were impressed by their awesome visualizations. You wanted to make your own awesome visualizations and so asked Quora and Reddit how to do it. You received some answers, but they were rather vague. You still can’t get the graphs done yourself. In this post, we’ll help you. Using Python’s matplotlib and pandas, we’ll see that it’s rather easy to replicate the core parts of any FiveThirtyEight (FTE) visualization.




原来是家公司,因为精美的可视化作品, 而变成了专门的 FTE 风格...


This post is about how to set up multiple Python versions and environments on a development machine (and why I don’t use conda).

It is much much easier to run PySpark with docker now, especially using an image from the repository of Jupyter. When you just want to try or learn Python. it is very convenient to use Jupyter Notebook for an interactive developing environment. The same reason makes me want to run Spark through PySpark in Jupyter Notenook.


嚓, 这热点组合的...


How to profile your python code to improve performance?

Content based image retrieval (CBIR) systems enable to find similar images to a query image among an image dataset. The most famous CBIR system is the search per image feature of Google search. This article is a keras tutorial that demonstrates how to create a CBIR system on MNIST dataset. Our CBIR system will be based on a convolutional denoising autoencoder. It is a class of unsupervised deep learning algorithms.




You need to iterate over an infinite series of numbers, breaking when a condition is met.

I thought it would be nice to show how one can leverage Python’s Pandas library to get stock ticker symbols from Wikipedia.


Equality vs Identity:

>>> a = ["x", "y"]
>>> b = a
>>> c = ["x", "y"]

>>> a == b == c
>>> a is b
>>> a is c

所以, 这个 推 关注时间长了就怀疑人生了...

不过, logo 很萌...


In this article we will. Extract twitter data using tweepy and learn how to handle it using pandas. Do some basic statistics and visualizations with numpy, matplotlib and seaborn. Do sentiment analysis of extracted (Trump's) tweets using textblob.


所以, 蹭热点也是技术界的习惯... )

Django Girls Foundation is an initiative that aims to introduce women and girls who never coded before to the world of technology and increase the diversity of the tech industry. We achieve this by organising one-day workshops and inviting women to come and learn how to build the internet using HTML, CSS, Python and Django. Django Girls is a volunteer run organisation with volunteers all over the world. Django Girls has two part-time paid staff members and the support team (six awesome ladies who are also volunteers) to help provide support to all other volunteers.



神奇的非洲... 万恶的资本主义, 程序猿已经不够了, 开始夯力发掘程序媛的劳动力了, 不禁想到 WAR II 时发动家庭妇女们走入工厂的宣传片儿...


Logistic regression can be used to solve problems like classifying images.


叕一个手写文字识别案例... 只是,已经有能在各种表面上即时打印印刷文字的手势打印机了...


A recent article by Jason Goldstein expressed the author’s difficulty understanding and using Asyncio, especially in a Flask context. Asyncio in a Flask context is the exact experience I have with Quart, so I hope I can add something to the conversation this author started.


怎么说呢? 需要理解才能正确应用的技术,都是... )


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

A backport of fstrings to python<3.6


等等 < 3.6 ???

为了将 fstrings 用在之前的版本中... 这叫什么补丁来的?

# -*- coding: future_fstrings -*-
thing = 'world'
print(f'hello {thing}')


Adds switch blocks to Python.

Monitor arbitrary TCP traffic using your HTTP interception proxy of choice.


浏览器是操作系统, 实在是越来越实在的现实了... )

  • s3tk
    • 30 Stars, 0 Fork

A security toolkit for Amazon S3.

Get repo recommendation based on your GitHub star history.


gh 的次级生态环境越来越好玩儿了... )

Kaggle | Web Traffic Forecasting.

In-Memory noSQL-like data structure.


简单的说 bsddb 之后, redis 重爆了内存 DB 的世界... 但是, 依然没有出现 bsddb 的替代品


不过,总算有关注性能的 内存原生 DB 出现了...

当然 list_dict_DB -- Turn a list of dictionaries into a fast, O(1), noSQL-like data structure:Python 引发了足够深入的讨论,并指向了:

Using a mutable default value as an argument — Python Anti-Patterns documentation


反模式.py 这部小书 ;-)


A timer for profiling a Python function or snippet.



main (2507.00 ms)
├── sleep1 (1002.23 ms)
└── sleep2 (1504.77 ms)

简单的说, 为了 CLI 中图形化的展示, 也是值得嗯哼的...


( ̄▽ ̄)

  • PyConChina2017 议题征集开始
    • 申报表单:





2017年10月22日 8:30 ~ 17:00


结果立即在 CPyUG 列表中引发了各种嗯哼, 并有行者组织了议题问卷, 得到稍有不同的期待, 所以, 大会的举行真心得看坚持了. )



comments powered by Disqus