Created
July 20, 2012 02:00
-
-
Save onmoving/3148196 to your computer and use it in GitHub Desktop.
python 정리
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
####pdb attach debugger 디버거 활성화 | |
import pdb; pdb.set_trace() | |
####print traceback 출력 | |
try: | |
... | |
except: | |
import traceback | |
traceback.print_exc() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment