Compile Method In Python Example