windows - IOError: [Errno 13] Permission denied while opening a file in Python -


i trying access pdf file on python , message:

ioerror: [errno 13] permission denied: 'c.pdf' 

here piece of code:

fpdf = open(self.filename, 'ab+') 

this code opens file have windows 64-bit pc python 2.7.9 installed

the error pretty self-describing, user runs python script not have rights open file.

try running app administrator.


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -