How to use os.access()??
bvdpoel at uniserve.com
bvdpoel at uniserve.com
Fri Jul 13 23:39:16 EDT 2001
Nick Perkins wrote:
>
> <bvdpoel at uniserve.com> wrote in message
> news:3B4F82F8.D21C6EF3 at uniserve.com...
> >
> > I'm trying to use os.access() in my program. But, I'm stuck trying to
> > figure out the parms... obviously the first is the filename; but the 2nd
> > is supposed to be a constant (?) like F_OK. Unfortunately, it doesn't
> > appear that the F_OK, etc are defined anywhere. Either the docs are
> > wrong (no way!), or I'm missing a module file (likely), or I'm just
> > totally wrong about everything (quite likely!).
>
> os.F_OK
Opps, dummy me. Guess if I'm using os.access() then os.F_OK makes sense!
Thanks all!
--
Bob van der Poel ** Wynndel, British Columbia, CANADA **
EMAIL: bvdpoel at uniserve.com
WWW: http://users.uniserve.com/~bvdpoel
More information about the Python-list
mailing list