Archive for September 23rd, 2008

23Sep

C __LINE__ equivalent in Python

Posted by Elf Sternberg as programming, python

I started using this recently. If you do a lot of Python, you’ll sometimes find yourself desperate for breadcrumbs, little print statements scattered throughout your code as you try to figure what you told it to do, since it’s obviously not doing what you want it to do. I’d used inspect previously to unravel exception […]


Subscribe to Feed

Categories

Calendar

September 2008
M T W T F S S
« Aug   Oct »
1234567
891011121314
15161718192021
22232425262728
2930