[Tutor] How to get script to detect whether a file exists?

Richard D. Moores rdmoores at gmail.com
Sun Aug 1 21:28:49 CEST 2010


On Sun, Aug 1, 2010 at 11:33,  <python at bdurham.com> wrote:
> Richard,
>
> Look at the os.path.isfile function.
>
> Malcolm

Thanks, Malcolm. That makes a tremendous difference.

If anyone's curious, they see what use I've made of
os.path.isfile(path): <http://tutoree7.pastebin.com/39kXSEjb>

Dick


>


More information about the Tutor mailing list