-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gnarlodious wrote: > I want to have a script > output HTML if run in a browser and plain text if run in a Terminal.
You may also want to look into urwid. It provides you with a text console interface but can also provide HTML. It has widgets like text boxes, lists, tick boxes etc. Roger -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkt3JWUACgkQmOOfHg372QRifACfYKS7+bmt6F3WPXYatM7yKVcs knMAoLx5sJ3lFmofrrgHaS3aYOBAun0d =Nxd4 -----END PGP SIGNATURE----- -- http://mail.python.org/mailman/listinfo/python-list