Google App Engine: How do I save uploaded text file to Blob, then read from it line by line?

Posted by Jack Low on Stack Overflow See other posts from Stack Overflow or by Jack Low
Published on 2010-02-07T06:04:22Z Indexed on 2010/04/24 16:03 UTC
Read the original article Hit count: 168

Filed under:
|
|

I have a huge file (over 16,000 lines) that I want to save in the datastore for parsing later. Each line contains info on an entity.

How do I read line by line from the stored Blob?

I can't seem to find a good tutorial or documentation on a Blob anywhere. GAE only shows how to deal with images, but I want to read from the stored text file.

© Stack Overflow or respective owner

Related posts about python

Related posts about google-app-engine