This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import csv, sys | |
def fetch_data(): | |
# Returning some example data - hit a JSON API or something here | |
return [{ | |
"name": "Name 1", | |
"age": 32, | |
"description": "Look, we can use commas and\ttabs & stuff in here!", | |
}, { | |
"name": "Name 2", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import webapp2 | |
from model import * | |
from google.appengine.api import memcache | |
import hashlib | |
import logging | |
import random | |
import string | |
import json |