FAQ
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

Search Discussions

  • Christos TZOTZIOY Georgiou at Dec 10, 2004 at 5:43 pm
    On Wed, 08 Dec 2004 14:39:57 +0100, rumours say that me
    <fwdtome at gmx.net> might have written:

    [python2.4 + pythonwin 2.03 on Win98]
    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?
    AFAIK yes. The .*W versions of functions were only stubs in the Win9x
    family. You can see if there is a RemoveDirectoryA though; that would
    be usable.
    --
    TZOTZIOY, I speak England very best,
    "Tssss!" --Brad Pitt as Achilles in unprecedented Ancient Greek

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppython-list @
categoriespython
postedDec 8, '04 at 1:39p
activeDec 10, '04 at 5:43p
posts2
users2
websitepython.org

2 users in discussion

Me: 1 post Christos TZOTZIOY Georgiou: 1 post

People

Translate

site design / logo © 2022 Grokbase