Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
4 lines (3 sloc) 168 Bytes
import sys
html_template = file('charts-template.html', 'r').read()
file('charts.html', 'w').write(html_template.replace('__CHART_DATA_GOES_HERE__', sys.stdin.read()))