Popular recipes tagged "ansi" but not "string"http://code.activestate.com/recipes/tags/ansi-string/2010-10-09T22:29:42-07:00ActiveState Code RecipesConvert a transcript with Ansi escape sequences to HTML (Python)
2010-10-09T22:29:42-07:00Muhammad Alkarourihttp://code.activestate.com/recipes/users/4049383/http://code.activestate.com/recipes/577349-convert-a-transcript-with-ansi-escape-sequences-to/
<p style="color: grey">
Python
recipe 577349
by <a href="/recipes/users/4049383/">Muhammad Alkarouri</a>
(<a href="/recipes/tags/ansi/">ansi</a>, <a href="/recipes/tags/conversion/">conversion</a>, <a href="/recipes/tags/text/">text</a>).
Revision 2.
</p>
<p>This is a stab at converting a transcript generated by the Unix <code>script</code> command that uses ANSI escape sequences, used to colour the terminal, to HTML.</p>
Handling ANSI Terminal. (Python)
2010-02-09T05:51:23-08:00Louis RIVIEREhttp://code.activestate.com/recipes/users/4035877/http://code.activestate.com/recipes/574451-handling-ansi-terminal/
<p style="color: grey">
Python
recipe 574451
by <a href="/recipes/users/4035877/">Louis RIVIERE</a>
(<a href="/recipes/tags/ansi/">ansi</a>, <a href="/recipes/tags/linux/">linux</a>, <a href="/recipes/tags/system/">system</a>, <a href="/recipes/tags/terminal/">terminal</a>).
Revision 9.
</p>
<p>This function can be used, with or instead of print, to get <a href="http://en.wikipedia.org/wiki/ANSI_escape_code">ANSI</a> output.</p>