Compile Python Using A Dictionary