Generate Code Using Python