Using PyXPCOM to handle IDN, demonstrates how to use some of the Mozilla XPCOM cross-platform component object model services from Python [1]