[Q]Remove Directory in Win2k

Karl M. Syring syring at email.com
Sun Jul 15 13:14:57 EDT 2001


"·Q¤@¤U" <skyer.bbs at openbazaar.net> schrieb im Newsbeitrag
news:3hMlEP$l9c at openbazaar.net...
> Hi~~guys ^^
> My patition is NTFS
> when I execute below codes, it return error "Permission Denied".
> And, the directiory "test" remainly exist.
>
>    import os
>    os.mkdir('test')
>    os.remove('test')

That should be
 os.rmdir('test')

Karl M. Syring






More information about the Python-list mailing list