Py3: Terminal or browser output?
Roger Binns
rogerb at rogerbinns.com
Sat Feb 13 17:19:17 EST 2010
-----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-----
More information about the Python-list
mailing list