Register codec dynamically without copying module to lib/python/encodings/

Benjamin musiccomposition at gmail.com
Fri Jun 6 04:49:24 CEST 2008


On Jun 5, 2:57 pm, Michael Ströder <mich... at stroeder.com> wrote:
> HI!
>
> I have a simple codec module for T.61 which principally works. I'd like
> to use this codec without having to copy the module to
> lib/python/encodings/. Is that possible? Can I can extend the encodings
> search path or register the module by calling a function?
codecs.register
>
> Ciao, Michael.




More information about the Python-list mailing list