problem with win32file.RemoveDirectory

me fwdtome at
Wed Dec 8 14:39:57 CET 2004

Hello python world.

Since yesterday I'm using Python 2.4/PythonWin (build 203) on my Win98 
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\", line 2, in ?
error: (120, 'RemoveDirectoryW', 'This function is only valid in Win32 

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,

More information about the Python-list mailing list