How to get volume name under Win32?
emile at fenx.com
emile at fenx.com
Thu May 18 22:15:22 EDT 2000
If you're trying this from within IDLE, try it from the interactive
prompt. (i.e., in a dos window, invoke python). I'm not sure why,
but I get the same thing when I use IDLE.
Emile van Sebille
emile at fenx.com
Dale Strickland-Clark <dale at out-think.NOSPAMco.uk> wrote in message
news:<8g21kl$93j$1 at supernews.com>...
> Thanks for the info but I can't get your example to work:
>
> >>> import os
> >>> info = os.popen(r'dir c:\missing.ext').readlines()
> Traceback (innermost last):
> File "<interactive input>", line 1, in ?
> OSError: (0, 'Error')
>
> Have I missed something?
>
> --
> Dale Strickland-Clark
> Out-Think Ltd, UK
>
More information about the Python-list
mailing list