Re: OSError[Error 5]

2007-05-23 Thread SamG
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/ou

Re: OSError[Error 5]

2007-05-22 Thread kaens
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

Re: OSError[Error 5]

2007-05-22 Thread Miki
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, -- Mik

OSError[Error 5]

2007-05-22 Thread SamG
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