Create A Code Generator Python