new python goodness needed for edx setup