Learing Python, Newbie question

Steve Holden sholden at holdenweb.com
Thu Oct 25 22:45:22 EDT 2001


"Terry Reedy" <tjreedy at home.com> wrote ...
> 
> "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.
> 
Well pardon my news server for not telling me fast enough!

regards
 Steve
-- 
http://www.holdenweb.com/






More information about the Python-list mailing list