On May 23, 1:39 am, Miki <[EMAIL PROTECTED]> wrote:
> Hello SamG,
>
> > I do this on PowerPC..
>
> > >>> import os
> > >>> os.listdir('/usr/bin')
>
> > And endup getting this ...
>
> > OSError: [Error 5] Input/output error:/usr/bin
>
> What happens when you run "ls /usr/bin" in the terminal?
>
> HT
Try adding a trailing slash?
On 22 May 2007 03:52:23 -0700, SamG <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I do this on PowerPC..
>
> >>> import os
> >>> os.listdir('/usr/bin')
>
> And endup getting this ...
>
> OSError: [Error 5] Input/output error:/usr/bin
>
> I use python 2.4.4 (Framework edition)
>
Hello SamG,
> I do this on PowerPC..
>
> >>> import os
> >>> os.listdir('/usr/bin')
>
> And endup getting this ...
>
> OSError: [Error 5] Input/output error:/usr/bin
What happens when you run "ls /usr/bin" in the terminal?
HTH,
--
Miki <[EMAIL PROTECTED]>
http://pythonwise.blogspot.com
--
http: