In a message of Sat, 15 Aug 2015 14:24:21 -0500, boB Stepp writes:
>I understand your points, but wonder then what is the intended use for
>os.path.exists()?  That is, in what types of circumstances would it be
>both appropriate and safe to use?
>
>boB

If you want to locate dangling symlinks,  os.path.exists
will return False, so the symlink is there, but the file it pointed to
is long gone.

Laura

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to