/usr/lib/python2.7/dist-packages/mx/TextTools/mxTextTools/testHTML.py is in python-egenix-mxtexttools 3.2.8-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | from mx.TextTools.Examples.HTML import *
def test():
text = """<frame noresize>"""
utext = upper(text)
print "UPPER:", utext
result, taglist, nextindex = tag(utext,htmltable)
print_tags(text,taglist)
print
utext = lower(text)
print "LOWER", utext
result, taglist, nextindex = tag(utext,htmltable)
print_tags(text,taglist)
test()
|