蠎加载 162
原文: Import Python Weekly Newsletter - Issue No 162 欢迎, 来 PyChina/weekly 共同翻译/增订/推荐 周刊 蠎消息 ;-) 该读 ~ 文章, Blog, 教程… 免费 Python 书: 开始 Python, 高级 Python, 以及 Python 练习 book This document is a self-learning document for a course in Python programming. This course contains (1) a part for beginners, (2) a discussion of several advanced topics that are of interest to Python programmers, and (3) a Python workbook with lots of exercises. (是也乎: 叕一本 Python 入门书. ) 类似Snapchat AR 过滤器 augmentedreality My project lets you try on virtual pairs of sunglasses or masks. To achieve this I utilized python, Dlib, OpenCV, Scipy, and Numpy. The pipeline involves opening a live webcam feed, detecting keypoints on faces in the feed, warping a png image of sunglasses to match the face, rotating the png with face movements, and blending the two images together so they look like one real image. (是也乎: 叕一个 Python 实现的简易 AV 面具嗯哼工具 ) Python - Clean Design 的分类 core-python Some Python programmers like to think of their language as flawless. I personally know some Python programmers claiming that Python is superior to other languages in its clean design and unmatched elegance. This however isn’t true. Python has at least as many deep and fundamental flaws as most other languages, despite parts of its community claiming something different. 将Python项目打包到Debian .deb 第1部分 packaging Hi, Have you ever try to package your code/project to became .deb or in official Debian or Ubuntu Repository to share to the rest of the world? (是也乎: 发布 Python 工程为 .deb … 是的, 很少有人发布为 .exe/.msi ) Python 弱性能问题 performance What changed in my reasoning? First of all, I’m working on other problems. Whereas I used to do a lot of work that was very easy to map to numpy operations (which are fast as they use compiled code), now I write a lot of code which is not straight numerics. And, then, if I have to write it in standard Python, it is slow as molasses. I don’t mean slower in the sense of “wait a couple of seconds”, I mean “wait several hours instead of 2 minutes.” (是也乎: Python 中的囧问题, 几小时都算不出来的场景.. ) 信用建模与 Dask dask This post explores a real-world use case calculating complex credit models in Python using Dask. It is an example of a complex parallel system that is well outside of the traditional “big data” workloads. NumPy 教程第1部分 - Python 数组入门 numpy Numpy is the most basic and a powerful package for scientific computing in python. This is part 1 of a mega-tutorial covering all the core aspects of performing data manipulation and analysis with numpy’s ndarrays. 63.8% – Python 3 移植数据库 python3, community, fedora This is a dashboard to track progress of porting Fedora packages to Python 3. From Mordor, with love: 从头开始设计异步任务调度库 - Part-2 future In layman terms, a future is an object which can hold the value or result of some computation done asynchronously. What does that mean ? Python to Google Sheets google sheets (是也乎: docs.google 的表格终于有 Python 接口了, 当然, 大陆用不了. ) “Group By” 在 SQL 以及 Python: 比较 pandas, sql Exploring the overlapping functionality of SQL and Python can help those of us familiar with one language become more adept with the other. And with a deep understanding of both, we can all make smarter decisions about how to combine and leverage each, making it easy to always choose the right tool for every task. (是也乎: Group By 的叕一个嗯哼… ) 好物 ~ 包/模块/库/片段… ...