Python and OS X Lion

Source article: Python and OS X Lion Just a few quick tips that I’ve had to run through and discover today while upgrading to Lion. Start by installing Xcode 4, which is available via the App Store (for free now). This will fix your missing distutils package (which probably fixes a majority of your issues). […]

Python and OS X Lion

Source article: Python and OS X Lion Just a few quick tips that I’ve had to run through and discover today while upgrading to Lion. Start by installing Xcode 4, which is available via the App Store (for free now). This will fix your missing distutils package (which probably fixes a majority of your issues). […]

Measure your code

Source article: Measure your code I found a cool tool today to measure code: metrics. It measures SLOC, comments and cyclomatic complexity. It’s easy to install: pip install pygments metrics Run this in your project’s root: metrics -v `find . -type f \( -iname "*.css" -or -iname "*.py" -or -iname "*.js" -or -iname "*.html" -or […]

Measure your code*

Source article: Measure your code* I found a cool tool today to measure code: metrics. It measures SLOC, comments and cyclomatic complexity. It’s easy to install: pip install pygments metrics Run this in your project’s root: metrics -v `find . -type f \( -iname "*.css" -or -iname "*.py" -or -iname "*.js" -or -iname "*.html" -or […]