Python "constructor not accessible in restricted mode" -
this has been driving me crazy, on , off, few months.
i'm developing addon module kodi (formerly xbmc), exclusively python.
whenever try open file, so:
file = open(self.msg_bdy_props["filename"], "r")
this exception thrown:
ioerror: file() constructor not accessible in restricted mode
from i've read, restricted mode of python era long past. there still parts of lingering around? can't work around time, , need open , read files.
idea might happening , how around issue? thanks!
Comments
Post a Comment