我正在将文件从一个文件夹复制到另一个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
App Engine不支持复制文件。应用程序文件以及通过
update
上载的任何其他文件都是只读的。在相关问题 更多 >
编程相关推荐