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