Modularize Python version