willgun wrote:
Unfortunately,I'm on win32. Actually,I prefer a cross-platform method. Thanks.
These kind of things tend to be fairly platform specific. Obviously, nothing's stopping anyone writing a module which does some platform-sniffing and conditional imports and provides a consistent interface. Far as I know, though, there's no such thing for Python at the mo. Think of it as a market opportunity! TJG -- http://mail.python.org/mailman/listinfo/python-list