• One
  • Two
  • Three
  • Four
  • Five
#!/usr/bin/python
import googlemaps
import json
import sys
import re
f = open('/mit/boojum/Secret/google-map-key', 'r')
key = f.readline().rstrip('\n');
gmaps = googlemaps.Client(key);
home='10 Lester Terrace, Somerville, MA'
places = []
portalfile = sys.argv[1]
f = open(portalfile)
for line in f:
    if '#' not in line[0]: 
        if 'http' in line:
            url = line.split(';')[2]
            geo = url.split('=')[3]
            places.append(geo)
places.append(home)
totalmin = 0

 

 

 

This is stuff which is hidden or not hidden.

 

 

  • No labels

2 Comments

  1. I am a comment.  La la la

  2. I am a second comment on the top page