I have created a python executable with PyInstaller for macOS (I am working on macOS Big Sur 11.1) which does some stuff including creating files. I uploaded it to a repository.