Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 14 lines (10 sloc) 0.279 kB
import sys
def main(f):
tiles = open(f, 'r').readlines()
tiles = "".join(tiles).replace("\n","")
tiles = "".join(['{0},'.format(x) for x in tiles])[:-1]
tiles = "land = [" + tiles + "]"
print tiles
if __name__ == "__main__":
if len(sys.argv) == 2:
main(sys.argv[1])
Jump to Line
Something went wrong with that request. Please try again.