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

Richard D. Moores rdmoores at gmail.com
Tue Aug 3 00:42:01 CEST 2010

On Mon, Aug 2, 2010 at 14:28, Hugo Arts <hugo.yoshi at gmail.com> wrote:
> On Mon, Aug 2, 2010 at 8:58 PM, Richard D. Moores <rdmoores at gmail.com> wrote:
>> OK, here's my attempt: <http://tutoree7.pastebin.com/3YNJLkYc>.  Better?
> Much better. But why is that F in the argument list of both functions?
> It's overwritten immediately with the open() call, so it seems
> unnecessary to include in the arguments.

I need it for lines 36 and 37, don't I?

Here's the latest incarnation: <http://tutoree7.pastebin.com/7tDpX2nT>


More information about the Tutor mailing list