python 错误处理和调试 python 错误处理与调试 错误处理 try: ... except StandardError, e: ... finally: ... 参考文档 调试 print assert logging pdb 参考文档 参考文档