Errno 30]只读文件系统:u'templates/jatin/abcpage/'

2024-10-01 07:49:34 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在将文件从一个文件夹复制到另一个appengine django项目中。在

source_file = os.listdir('templates/1/')
fileList = ['templates/1/'+filename for filename in source_file]

对于文件列表中的f:

^{pr2}$

我收到以下错误:

IOError at /copy_file/ [Errno 30] Read-only file system: u'templates/jatin/abcpage/'

异常值:

[Errno 30] Read-only file system: u'templates/jatin/abcpage/' Exception Location: C:\Program Files\Google\google_appengine\google\appengine\tools\devappserver2\python\stubs.py in init, line 245


Tags: 文件in文件夹sourceonlyreadgooglefilename