翼图南

故九萬里,則風斯在下矣,而後乃今培風;背負青天而莫之夭閼者,而後乃今將圖南

Menu

Skip to content
  • Home
  • GPG
  • CV
  • Categories
    • Code
    • Devops
    • Django
    • 分享链接
    • 机器学习
    • MachineLearning
    • Others
    • Productivity
    • Python
  • Tags
  • Social
    • Twitter
    • GitHub
    • StackOverflow
    • 微信二维码
  • Feed

在 vagrant shared folder 下运行 python setup.py sdist 会报错的解决方法

Posted on Mar 18, 2014 by Leonardo Zhou

Python 开发者经常会使用 python setup.py sdist 命令来将项目打包成一个 package. 但是在 Vagrant(Virtual box) 下执行这一命令, Python 会报 Operation not permitted 错误。 Let's fix it!

Continue reading →

A guide to analyzing Python performance

Posted on Sep 18, 2013 by Leonardo Zhou

链接

一篇 Python 性能分析方面的好文,介绍了分别用 unix time命令和 context manager 来粗略/精细地测试 Python 脚本的运行时间; 使用 line_profiler 库 精细衡量每行代码的执行时间; 使用 memory_profiler ...

Continue reading →

Appscale——Google App Engine的开源克隆/替代

Posted on Aug 26, 2013 by Leonardo Zhou

完全利用开源项目, 就能在自己的设备上搭建 一套和 Google App Engine 的 API 兼容的 PaaS

Continue reading →

Migrating to a Custom User Model in Django

Posted on Aug 26, 2013 by Leonardo Zhou

链接

这篇 blog 详尽阐述了把现有的 UserModel 迁移到 Django 1.5 的 Custom User Model 所需的十几个步骤和注意事项。

对打算迁移 UserModel 的同学来说,是一份很不错的checklist!

Continue reading →

让django-debug-toolbar支持Python2.5

Posted on Aug 22, 2013 by Leonardo Zhou

Continue reading →
← Older posts
Newer posts →
© 2019 翼图南
Powered by Pelican & Graphy, hosted on GitHub.