~ 文章, Blog, 教程...

Walk through two examples of threading and multiprocessing to illustrate rules and best practices for taking advantage of concurrency. Documentation and code from the presentation is here -





We didn’t invent a new DSL, we merely adapted Python’s existing syntax to our needs. A simple class structure and a metaclass definition gave us everything we needed to build the configuration parameter files we needed.

Scrapes listings from Craigslist. Filter out listings that don’t match our criteria. Post the listings to Slack, a team chat tool, so we can discuss and rate them. Wrap the whole process into a persistent loop and deploy it to a server (so it would run continuously). Built by Vik Paruchuri -


其实还是对 Craigslist 进行搜索,只是控制界面变成了 Slack;

嗯哼?! 为了上班不被人发现在刷房源?! )

Earlier this year PEP-484 was accepted, the typing module was added to Python 3.5, and mypy moved into the umbrella of official python projects. Since it was a visible topic at the last, I decided to get some experience with it and see how it feels to use it. I decided I’d take a working, mature, open-source project that wasn’t written by me and “convert” it to mypy. Note this is a 3 part series with a follow up. Have a look at the latest post here -


细思恐极, PEP-484 已被接受?! 意思是 py3 为了性能,已经放弃动态语言这一特性了!? )

Based on the videos I have watched this is a must Go ( if you can that's ) Django Conference.

Michael Kennedy ( guy behind the TalkPython Podcast ) and I talked about writing about programming. What kind of writing is most valuable, how do you choose a topic, improve your writing, find an audience, and find the time to write? Listen to the podcast on the Talk Python To Me site.

Django and Python tips and tricks on how to improve website page load times by optimizing images.

At we’re building artificial intelligence to unite people through their overlapping passions, and here we introduce a framework we call words2map for considering what our users love, like these personal passions of ours. Github repo -


又一个推荐服务的框架 )

I'm a full time nerd, even when I'm ordering pizza online I can't stop myself from investigating how the websites I'm ordering from work. My latest investigation was Dominoes where I found a neat way to count the number of orders that they process throughout the day. This post is supposed to highlight potential dangers when exposing integer ID's, and how they can allow someone motivated (or sad) enough to track data you might not want to share. Simple Python Code to find it out has been shared.


对电商的又一个私人研究实践... )

My workplace recently collaborated with several police departments to build a dashboard showing 911 (also known as Call for Service) data, allowing users to drill down into that data. When I started on the project, there was a prototype written in dc.js, a JavaScript framework for building dynamic dashboards with all the data on the frontend, built around records from Tampa, FL. I needed to take this and make it capable of handling much more data -- millions of records. I took on the task of building this using Django and D3. Along the way, I found a set of tools that worked for me.

This week we welcome Nicholas Tollervey (@ntoll) as our PyDev of the Week. He is the author of the Python in Education booklet and the co-author of Learning jQuery Deferreds: Taming Callback Hell with Deferreds and Promises. He was one of the co-founders of the London Python Code Dojo. You should check out his website to see what he’s up to. Let’s spend some time learning more about our fellow Pythonista!


伦敦 Python Code Dojo, 代码道场! )

Here are two basic examples of almost the same uWSGI configuration to run a Django project; one is configured via an ini configuration file and the other is configured via a command line argument. This does not represent a production-ready example, but can be used as a starting point for the configuration.


~ Upcoming Conference / User Group Meet


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

开发 Python 指南, 针对 CPython 的核心进入, 是以 the devguide 为标志的知名 核心开发人员 制作的.

Asyncio 官方文档. 教授 py3.5 的 async 和 await, 来替代以往的 @asyncio.coroutine 以及 yield .

使用谷歌语音到文本API 生成演示幻灯片为你代言!


外文不好的同学的福音了, 意味着可以用中文幻灯到全球任何一个国家用当地语言自动演讲了?! )



~ 无责任推荐



comments powered by Disqus