This post originated from an RSS feed registered with Python Buzz
by Ian Bicking.
Original Post: Nummy ctypes
Feed Title: Ian Bicking
Feed URL: http://www.ianbicking.org/feeds/atom.xml
Feed Description: Thoughts on Python and Programming.
I recently used uTidyLib after mxTidy didn't immediately install for
me (such impatience). uTidyLib doesn't ship with any C code, but uses
ctypes to interface directory with libtidy (the library version of
HTML tidy).
I thought that was clever. Then I looked at the actual code that does
the interfacing; then I was really impressed: the entire interface
to tidy is 216 lines long. It's not incredibly easy to understand --
it's glue code, after all -- but it's really not too bad. And it's so
short!