select edges by edge weight

hello,

i looking for a script that in editable poly select edges by edge weight.

as a secondary request (not urgent) the same for crease.

thanks in advance.