A little disappointed so far

Graham Nicholls graham at rockcons.co.uk
Sun May 18 22:15:48 EDT 2003


Skip Montanaro wrote:


>     Erik> os.access would probably be the most obvious function.
> 
> But wrong. ;-) os.access is almost never what you want.  Try
> os.path.exists() instead.
> 
> Skip
Interesting, why ? And why did I not find this - the books would just talk
about the os module without saying what it offered beyond the specific
function they were then talking about.
-- 
Graham Nicholls
All round good guy.




More information about the Python-list mailing list