Does this do what you want?

import os
filename = "test.html"
cmd = os.popen("lynx -dump %s" % filename)
output = cmd.read()
cmd.close()
print output

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to