I’ve written a small tutorial on interfacing with Python. See Two ways communication between Python3 and Arduino
The way it works is that the arduino sends an OK message in the setup to let the Mac/PC know it’s ready. Could you try the script and see how long it takes ?