I use python on macos. I want to create a symlink using os.symlink() , it works on regular directory but i want to link or mount folders into my /Volumes/ which need password. In terminal i have to do symlink using 'sudo' command.
How to do it in python ? What is the best mechanism to pass the password when i call os.symlink() ?