December 2008
1 post
Python syntax checking
python -m py_compile <file to test>
Yes I know I’m supposed to do unit tests. But for “quick” scripts, sometimes you just want to know that your spacing is right and you didn’t leave the colon off the end of an if statement.