compile source code using python