Bios calls in Python?

Dr. Faustus faustus at pureevil.org
Wed Jun 6 18:46:13 EDT 2001


m.bless at gmx.de (Martin Bless) wrote in message news:<3b1e6611.6945219 at news.muenster.de>...

> What about DOS calls?
> I know the DOS interrupt "get truename of a file" still exists, and
> that's exactly what I'm looking for. (In case of substituted drives).
> But I don't know how to call from Python.

This will only work on 95/98/Me.  It will not work on NT/2K/XP.
There is definitely a Win32 API call that will do this on all those
platforms.  Depending on exactly what you want, this is probably
GetFullPathName, which is wrapped in the win32api library.

--
Dr. Faustus
faustus at pureevil.org



More information about the Python-list mailing list