471,330 Members | 1,808 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,330 software developers and data experts.

Htmllib help

I am using html and formater as shown below. They are used as part of a larger program.

Even though I don't use any print statements, the htmllib seems to be throwing parts of the html page on to the standard out(my screen in this case). Is there a way to disable the output?

import htmllib
w = formatter.DumbWriter()
format = formatter.AbstractFormatter(w)
p = htmllib.HTMLParser(format)
for x in p.anchorlist:
...."Use x in regex"
Jul 5 '07 #1
0 939

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by KC | last post: by
reply views Thread by Achim Domma | last post: by
1 post views Thread by Dfenestr8 | last post: by
reply views Thread by Morten W. Petersen | last post: by
6 posts views Thread by wukexin | last post: by
3 posts views Thread by geir.smestad | last post: by
1 post views Thread by David Bear | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.