Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Python
  3. Question
Python

PermissionError: [Errno 13] in python

Asked by Aalap Prabhakaran Apr 6, 2021 1.1K views 1 answer
Share

About this question

Just starting to learn some python and I'm having an issue as stated below:

a_file = open('E:Python Win7-64-AMD 3.3Test', encoding='utf-8')

Traceback (most recent call last):

  File "", line 1, in

    a_file = open('E:Python Win7-64-AMD 3.3Test', encoding='utf-8')

PermissionError: [Errno 13] Permission denied: 'E:\Python Win7-64-AMD 3.3\Test

Seems to be a file permission error, if any one can shine some light it would be greatly appreciated.

NOTE: not sure how Python and Windows files work but I'm logged in to Windows as Admin and the folder has admin permissions.

I have tried changing .exe properties to run as Admin.

Your answer

1 Answer

More Python discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Python Blogs

Guides, tips and career advice on Python from JanBask experts.