ret = sendfile(in, out, offset, &sbytes, &sf, flags); code example Example: pyautopgui wrros on big sur python -m pip install pyautogui