Hmm, I don't know enough to give you a confident answer yet. However, you might find helpful information in the OpenAI Discord server where developers discuss various topics, including using OpenAI's API with Python.
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: