py3k
fix clip_box typo bug
replace print statement with print function
cleanup __cmp__ fixes
replace cmp with key in sorted
cleanup FileByteCount for use with python3