2 ms·
Using print in Python to generate HTML and piping the output to a file: https://gist.github.com/jvns/a552895b6f9b523276e88d7e7506ee86 https://gist.github.com/jv
by punnerud 5y ago
Using print in Python to generate HTML and piping the output to a file:
https://gist.github.com/jvns/a552895b6f9b523276e88d7e7506ee86 https://gist.github.com/jvns/a552895b6f9b523276e88d7e7506ee8...
Always used append to file, but this is easier to debug/iterate. Thanks for the trick.