I have some python utilities that generate HTML output. Instead of saving to a temporary file, and opening that in a web browser, I would like to be able to just redirect the output to the browser to preview it. For example, something like:
my script.py | open /Applications/Safari.app
Is there any way to do such a thing? I am on OS X.
Aucun commentaire:
Enregistrer un commentaire