'Winerror 5 Acces Denied os.mkdir() Python

I am getting an error message while running the python script. I have moved the python file from one folder to another and got an error message. I am to access the folder but it doesn't allow me to execute code and gives an error message.

If not os.path.exist(os.path.join('back')):
   os.makedir(os.path.join('back'),exist_ok=False)


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source