Press ESC to close

how to integrate openai api in python