By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,818 Members | 1,262 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,818 IT Pros & Developers. It's quick & easy.

Rendering HTML

P: n/a
I am looking for a module that will render html to console but
formatted much like one might see with Lynx. Is there such a module
already out there for this?

Thanks,

Harlin

Sep 16 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Harlin Seritt wrote:
I am looking for a module that will render html to console but
formatted much like one might see with Lynx. Is there such a module
already out there for this?


use htmllib+formatter:

http://effbot.org/librarybook/formatter.htm

</F>

Sep 16 '05 #2

P: n/a
D H
Harlin Seritt wrote:
I am looking for a module that will render html to console but
formatted much like one might see with Lynx. Is there such a module
already out there for this?


http://aspn.activestate.com/ASPN/Coo...n/Recipe/52297
Sep 16 '05 #3

P: n/a
Hi DH,

Thanks for this blurb from ASPN. I am really looking, however, to do
this on a Windows machine as opposed to a Unix one at this point. This
will come in handy down the road I am sure.

Thanks,

Harlin Seritt

Sep 17 '05 #4

P: n/a
On 16 Sep 2005 22:56:06 -0700, Harlin Seritt <ha**********@yahoo.com> wrote:
Hi DH,

Thanks for this blurb from ASPN. I am really looking, however, to do
http://aspn.activestate.com/ASPN/Coo...n/Recipe/52297
this on a Windows machine as opposed to a Unix one at this point. This
will come in handy down the road I am sure.


If it's popen()ing tput that worries you, you can probably replace bold,
underline and reset with the corresponding ANSI escape sequences. Or the
empty string! Assuming you will print to a cmd.exe window, that is.

/Jorgen

--
// Jorgen Grahn <jgrahn@ Ph'nglui mglw'nafh Cthulhu
\X/ algonet.se> R'lyeh wgah'nagl fhtagn!
Sep 17 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.