Files for the publication & poster for Data Workers, an exhibition by Algolit. http://www.algolit.net/index.php/Data_Workers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

26 lines
493 B

def get_template(html):
template = '''<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="stylesheet.css">
<title>Data Workers</title>
</head>
<body>
<div id="wrapper">{}</div>
</body>
</html>
'''.format(html)
return template
def write_html(html, filename):
html_template = get_template(html)
out = open(filename, 'w+')
out.write(html_template)
out.close()
print('*html file written*')
# html = ''
# write_html(html, 'data-workers.html')