Learing Python, Newbie question

Terry Reedy tjreedy at home.com
Thu Oct 25 21:23:21 EDT 2001


"Steve Holden" <sholden at holdenweb.com> wrote in message
news:Xv_B7.30279$Nx2.605261 at atlpnn01.usenetserver.com...
> "Terry Reedy" <tjreedy at home.com> wrote ...
> > As others have pointed out,
> > a)your particular example does not need a conditional expression,
and

>     db_first = not os.path.exists("gbook.txt") # best?

This is exactly what others had already pointed out, and why a c.e. is
not needed for this example.

Terry J. Reedy






More information about the Python-list mailing list