In macOS, I found some sounds in the path: System Preferences - Sounds - Sounds Effects
How can I play it by code? Is there any system call here I can use?
I found some similar questions which play sounds by Swift, but if possible, I want to use Python or another coding language
Also, I have tried say "sth" and afplay /System/Library/Sounds/Bottle.aiff,but they are not the same