OSError[Error 5]

kaens apatheticagnostic at gmail.com
Tue May 22 23:06:49 EDT 2007


Try adding a trailing slash?

On 22 May 2007 03:52:23 -0700, SamG <mad.vijay at gmail.com> 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)
>
> Could anybody help
>
> PS: I have clean listing with python 2.3.5 but my requirement is for
> python 2.4.4.
>
> Thanx in advance.
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>



More information about the Python-list mailing list