Esempio n. 1
0
def get_data():
	callout_file = csv.reader(get_file(DOWNLOAD_URL_2011))
	next(callout_file) 
	i = 1
	for row in callout_file:
		# create an instance of Callout from csv row
		# and save it to the datastore
		CallOut.from_csv(row).put()
		i= i + 1
		logging.info(i)