I Have Created document set in that document i have programmatically created an Tempfolder but when i access that folder it sho开发者_如何学Pythonws error like"Access to the path 'C:\Users\Administrator\AppData\Local\Temp\MyTempFolder' Access is denied"
please guide me.
It is correct behavior because you need administrator's rights to access that folder. The simples solution is to run you program as Administration but I would rather change the folder, otherwise you need to elevate the rights of you app. Furhter you can look here and here.
精彩评论