Press ESC to close

how to call openai api in python