Python notes » History » Revision 4
Revision 3 (Amber Herold, 09/20/2011 03:11 PM) → Revision 4/5 (Amber Herold, 09/20/2011 03:12 PM)
h1. Python notes
* "Python Style Guide":http://www.python.org/dev/peps/pep-0008/
* [[Python Coding Standards]]
* http://blog.dispatched.ch/2011/06/12/how-to-become-a-proficient-python-programmer/
* http://lucumr.pocoo.org/2011/7/9/python-and-pola/
* "clean python code":https://www.ibm.com/developerworks/aix/library/au-cleancode/
h2. Debugging
* print out the stack trace after an exception is caught:
<pre>
import traceback
one, two, tb = sys.exc_info()
traceback.print_tb(tb)
</pre>