python
文章平均质量分 67
rx_wen
这个作者很懒,什么都没留下…
展开
-
debugging python script in ipython
ipython doesn't work with built-in pdb debugger. While I tried to debug a python script with "run -d script.py" within ipython shell, I got bellow error: AttributeError: Pdb instance has no attribute 'curframe' To debug script in ipython, we need to use a原创 2010-06-09 21:39:00 · 936 阅读 · 0 评论 -
install ipython and readline on mac
ipython is a powerful interactive shell for python. With it, we can tak advantage of python programming language in our daily works. One of ipython's power is its tab-completion feature that needs readline to work. On mac system, it lacks this library due原创 2010-06-06 10:47:00 · 1125 阅读 · 0 评论 -
python decorators
Decorator is a very expressive language feature in python. It helps developers to write cleaner, modular code that is easier to extend and maintain. It also helps implement AOP and decorator pattern in python. Decorator syntax To declare a decorator funct原创 2010-12-05 21:10:00 · 614 阅读 · 0 评论 -
blogporter v1.0.0 released
The first version of blogporter is released. It's a utility for synchronizing posts between different blog service provider. I wrote this tool because I need to maintain two blogs. It's annoying to have to copy and paste my posts to another blog. And the m原创 2010-10-20 21:48:00 · 562 阅读 · 0 评论