阅读背景:

如何将通过Django上传的CSV文件存储到Google App Engine上的blobstore中?

来源:互联网 

I'm trying to upload a CSV file via Django app into a blobstore file in Google App Engine. I'm running into a problem were dumping the file as uploaded could end up with the wrong newlines. So, I need to open the uploaded file in python's universal newlines mode. The Django documentation suggests that I can use .open() on a File object, setting a new mode.I'm trying to upload a CSV file via Django app




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: