is there a python equivalent for this tool?

Stefan Behnel stefan_ml at
Sat Apr 26 00:17:55 CEST 2008

Jorge Vargas wrote:
> Dear python users, do you know of a tool like this that is written in python?
> in case you where wondering I just don't want to have the ruby
> dependency on my python proyects.

This comes to mind:

Not sure if it does what you want, though. If not, it should be quite trivial
to implement what you ask using this:

Algorithm: for each CSS selector in the stylesheet, check if it matches an
element in the HTML tree. If not, remove it.


More information about the Python-list mailing list