importpython-barnner.png

该读

~ 文章, Blog, 教程...

Python packaging is not bad any more. If you’re a developer, and you’re trying to create or consume Python libraries, it can be a tractable, even pleasant experience. A historical perspective of how it's evolved and where it stands today.

(是也乎:

嗯哼?!谁说的?! )

Python 3.6.0a4 has been released. 3.6.0a4 is the last of four planned alpha pre-releases of Python 3.6, the next major release of Python. During the alpha phase, Python 3.6 remains under heavy development: additional features will be added and existing features may be modified or deleted. Please keep in mind that this is a preview release and its use is not recommended for production environments. Python 3.6.0 is planned to be released by the end of 2016. The first beta pre-release, 3.6.0b1, is planned for 2016-09-12.

(是也乎:

嗯哼,今年 PyCon16China 大会口号还有人提议: 就不用 Py3 老爹太囧了... )

Do you write programs in Python? You should be using attrs.

(是也乎:

Limodou 就写过类似模块;-) )

In a Django model, the Manager is the interface that interacts with the database. By default the manager is available through the Model.objects property. The default manager every Django model gets out of the box is the django.db.models.Manager. It is very straightforward to extend it and change the default manager.

The dis module includes functions for working with Python bytecode by “disassembling” it into a more human-readable form. Reviewing the bytecodes being executed by the interpreter is a good way to hand-tune tight loops and perform other kinds of optimizations. It is also useful for finding race conditions in multi-threaded applications, since it can be used to estimate the point in the code where thread control may switch.

(是也乎:

推荐用来估计代码中线程可切换点 )

Are you the one ?

One of the pivotal moments in my professional development this year came when I discovered Coursera. I'd heard of the "MOOC" phenomenon but had not had the time to dive in and take a class. Earlier this year I finally pulled the trigger and signed up for Andrew Ng's Machine Learning class. I completed the whole thing from start to finish, including all of the programming exercises. The experience opened my eyes to the power of this type of education platform, and I've been hooked ever since.

Explains Context Manager using "Making a sandwich" as an example.

(是也乎:

eEglAfJnT72Iw5chw0IT )

Wemos D1 mini is a 64x48 oled screen that can be mounted on the d1 really easily. The screen has an I2C interface and driven by a SSD1306 chip which is thankfully supported by micropython. Full details, code snippets, schematics can be found on this article.

(是也乎:

又见 I2C ...

upy_logo

)

Brandon Rhodes on Twitter: “Welcome to the new http://pyvideo.org !” Thanks to the original maintainers, the new, & the PSF for this site!

活动

~ Upcoming Conference / User Group Meet

项目

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

Solving TSP with Simulated Annealing

将 Python requests 的请求对象变成 curl 命令的库.

(是也乎:

win 用户受到 13206 点伤害 )

对 android 的构建 github pr 生成总结报告

retry.it, 简单重试库

语言无关的 atom 包, 用以跟踪内联变量

A tool useful for Pokemon Go maps, such as pogom or PokemonGo-Map.

通过智能手机的 GPS 记录为你的照片标记地理点

DAMA

~ 无责任推荐

是也乎


Comments

comments powered by Disqus