interface to the expat nonvalidating xml parser import sys from pyexpat import provide pyexpat submodules as xml parsers expat submodules sys modules xml parsers expat model model sys modules xml parsers expat errors errors provide pyexpat submodules as xml parsers expat submodules
import sys

from pyexpat import *


sys.modules['xml.parsers.expat.model'] = model
sys.modules['xml.parsers.expat.errors'] = errors