problem with win32file.RemoveDirectory

me fwdtome at gmx.net
Wed Dec 8 08:39:57 EST 2004


Hello python world.

Since yesterday I'm using Python 2.4/PythonWin (build 203) on my Win98 
system.
My problem - that did not occured in the previous version Python 
2.3.4/PythonWin (build 163) - is the following:

The command i. e. 'win32file.RemoveDirectory("C:\\Python 2.4\\folder")' 
causes the error message:

Traceback (most recent call last):
   File "C:\Python24\remove.py", line 2, in ?
     win32file.RemoveDirectory('C:\\Python24\\folder')
error: (120, 'RemoveDirectoryW', 'This function is only valid in Win32 
mode.')

The new documentation tells me that RemoveDirectory "is implemented 
using RemoveDirectoryW."
Does that mean a "NT/2000 Unicode specific version" and the 
impossibility using this function on Win98?

Thanks for your help,
Johannes




More information about the Python-list mailing list