
python
文章平均质量分 76
蹦跶
浙江在校研究生(那是曾经)
展开
-
使用pdb/日志/gdb调试Python
一、Shell下首先你选择运行的 pypython -m pdb myscript.py(Pdb) 会自动停在第一行,等待调试,这时你可以看看 帮助 (Pdb) h 说明下这几个关键 命令二、Python 2.7(IDLE)#!/usr/bin/python_DEBUG=True #easier to debugdef debug_dem转载 2014-02-18 10:21:40 · 3578 阅读 · 0 评论 -
python之SQLAlchemy
TOP1资料(SQLAlchemy使用笔记--SQLAlchemy ORM)http://blog.csdn.net/billvsme/article/details/50319471数据库操作——略复杂,涉及join\outer\outerjoin等down_bindings = ( context.session.query(RouterL3AgentBind转载 2016-03-20 21:17:58 · 800 阅读 · 0 评论