[issue8962] IOError: [Errno 13] permission denied

Caitlin Kavanaugh report at bugs.python.org
Thu Jun 10 18:21:05 CEST 2010

New submission from Caitlin Kavanaugh <cnkavanaugh at gmail.com>:

Hi, I'm new to python, so I'm sorry if my explanation is terribly concise, I'm trying to explain it with fairly limited terminology.

I have been attempting to write data out to a file, yet I continually receive the error:

IOError: [Errno 13] permission denied '/trained.nn'

No matter where or what I try to save the file as, it returns this error with the corresponding file name. My friend insists that I need to use a slash, yet I'm not sure this is the correct syntax. Otherwise, I'm absolutely lost in how to solve this.

I tried looking up possible solutions first, but either the terminology was beyond me, or they supplied a piece of code that could fix it. I don't really want a plug and chug solution. I really want to understand this, so any explanation would be greatly appreciated.

Thank you!

components: Windows
messages: 107463
nosy: Caitlin.Kavanaugh
priority: normal
severity: normal
status: open
title: IOError: [Errno 13] permission denied
type: behavior
versions: Python 2.6

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list