Python TNEF (winmail.dat attachment access) library?
Steven D'Aprano
steve at REMOVEMEcyber.com.au
Tue Oct 4 03:50:56 EDT 2005
Larry Bates wrote:
> Why not write Python class that uses CTypes and make it
> available as a recipe? From a performance standpoint it
> is unlikely you can do better than to call the .dll and
> have it do the work for you. Just a suggestion.
A pure Python solution will be cross-platform, while
calling a Windows DLL will only work under Windows.
The optimal solution will be to call the DLL when it is
available, and fall back on pure Python if it is not.
--
Steven.
More information about the Python-list
mailing list