蠎加载 12

原文: ImportPython Newsletter Issue 12 - 11th December 该读 ~ 文章, Blog, 教程… 理解 Python 的 unicode, str, UnicodeEncodeError 和 UnicodeDecodeError 通过人为引发各种有关错误, 来理解这堆错误的差异和根本原因. (是也乎: 有时,也可以大吼一声 Py3大法好) Django Under The Hood - 视频和幻灯. Django: Under the Hood 又一个伟大的 Django 式发布, 社区发布了各种资料来忽悠大家使用… 包含各种视频和幻灯, 来自: Andrew Godwin, Armin Ronacher, Jannis Leidel, Tom Christie, Daniel Pyrathon, Anssi. IPython Notebook 嵌入 IDE 几周前发布的 Pycharm 4 已经能嵌入 IPython notebook 了. Python 中测试失败时 单元测试是好的, 但是,具体到测试失败时,应该怎么处置? 此文给出了详细的分析和建议. 用 Docker 来部署 Django 应用 “以往所见各种有关介绍,都不是针对完备的一个 Django 应用的, 此文首次对 syncdb 和 collecstatic 命令进行全面阐述. " 将代码从 Py 2 移植到 Py3 的手册 本文目标是如何更好的同时支持两种版本的运行环境 django-nocaptcha-recaptcha 介绍 本周 Google 发布了 reCAPTCHA, 所以,我们将其折腾到了 Django 中. Django 模型说明 在 Django 中如何能更加简洁的描述数据模型来包含更多业务? 利用内置的 Python 描述协议, 可以轻松的完成一个专用 DSL 来作这事儿. 配置 Raspberry Pi 来折腾 Python 和 C 本文旨在帮助初学者上手, 快速建立 树莓派环境来开始 Py 和 C 的开发. 设计 PyMongo 时4个令人桑心的决策 回顾当初的决定引发了多大的麻烦, 痛定思痛, 在 PyMongo 3.0 时,将全面解决的设计问题, 作为一个 悲伤的墓志铭故事,在此一述. (是也乎: “copy_database” 引发的血案…) 10 大企业 Python 传说 “I joined PayPal a few years ago, and chose Python to work on internal applications, but I’ve personally found production PayPal Python code from nearly 15 years ago. Here are the 10 myths I’ve had to debunk the most in eBay and PayPal’s enterprise environments.” - Mahmoud Hashemi (是也乎: 蠎周刊也曰过…) 项目 ~ 包/模块/库/片段… ...

2014-12-11 · 2 min · 984 words · ZoomQuiet

蠎加载 10

ImportPython 原文 发了 ~ Just Out Python 2.7.9rc1 Python 2.7.9rc1 是下一个Python2.7 系列bug修复版的候选版本的首选. 这个修复版将包含几个空前的变化. 该读 ~ 文章, Blog, 教程… ...

2014-11-27 · 3 min · 1133 words · ZoomQuiet

蠎加载 9

ImportPython 原文: 该读 ~ 文章, Blog, 教程… Why Python Just Wasn’t Enough for AppsFlyer » At AppsFlyer we actually started our code base in Python. Two years later this wasn’t enough to handle the growing number of users and requests. We started to encounter issues like one of the critical Python processes taking too long to digest the incoming messages, caused mainly by string manipulations and Python’s own memory management system. PyData Silicon Valley 2014 » Detailed Recap of PyData 2014 conference. Is Using Virtualenv Really A Good Idea For Production Django Applications? » A New Django developer raises questions on the default production workflow that’s followed in the Django Community. Build a Reddit Bot Part 1 » Five Part Series on Building a Reddit Bot. Part 1 and 2 are complete. The Bot currently reads posts from reddit and replies to the post. How To Run Flask on Gondor » Gondor offers Managed Python hosting with command-line deployment and support. Here is how to run flask based apps. Flask for the Masses » Web Development Flask for the Masses - Flask Step By Step Tutorial. Scientific Python Tips and Tricks » This guide aims to ease that process a bit by showing tips and tricks within Python for those coming from MATLAB background. OAuth Authentication with Flask » Complete Flask application that implements “Sign In with Facebook” and “Sign In with Twitter” functionality. USA County Health Rankings IPython Notebook » IPython notebook for creating CSV files used for choropleth maps that show health rankings data. An Introduction to the Python Buffer Protocol » Python buffer protocol, also known in the community as PEP 3118, is a framework in which Python objects can expose raw byte arrays to other Python objects. This can be extremely useful for scientific computing, where we often use packages such as NumPy to efficiently store and manipulate large arrays of data. OpenStack Orchestration In Depth, Part II: Single Instance Deployments » 代码 ~ 包/模块/库/片段… ...

2014-11-20 · 2 min · 752 words · ZoomQuiet

蠎加载 8

原文: issue8 该读 ~ 文章, Blog, 教程… Google super-cryptic challenge to recruit new developers. » Reported that searching for terms like “python lambda syntax” and “mutex lock” brings up an invite to compete some challenge questions. Scraping cheap airline tickets » It all started with a bet long time ago. One of my friends couldn’t believe that it is actually possible nowadays to travel around the world with low-cost airlines.I think I won. With some python help and many hours of coding I was able to find all the necessary tickets and stay below the price criterion. Do Not Disturb. » Python: A little misunderstanding can create the ultimate “do not disturb” sign. Using Pandas To Create an Excel Diff » I am going to walk through a real world example of how to use pandas to automate a process that could be very difficult to do in Excel. My business problem is that I have two Excel files that are structured similarly but have different data and I would like to easily understand what has changed between the two files. Basically, I want an Excel diff tool. Data Science with Hadoop - predicting airline delays. » Every year approximately 20% of airline flights are delayed or cancelled, resulting in significant costs to both travellers and airlines. As our example use-case, we will build a supervised learning model that predicts airline delay from historial flight data and weather information. Building Web Applications with Django and AngularJS » This tutorial you will build a simplified Google+ clone called “Not Google Plus” with Django and AngularJS. A Python Toolbox » “In this post I’ll share some tools I use to ease and speed-up my workflow, either in the Python code or in the development environment.” Supervised Learning: Support Vector Machines » The support vector machine (SVM) is a classification method that attempts to find a hyperplane that separates classes of observations in feature space. In contrast to some other classifications methods we have seen (e.g. Bayesian), the SVM does not invoke a probability model for classification; instead, we aim for the direct caclulation of a separating hyperplane. 代码 ~ 包/模块/库/片段… ...

2014-11-13 · 2 min · 737 words · ZoomQuiet