John Salerno enlightened us with:
> Hmm, looks like this doesn't work anyway if open() doesn't work,
> because then f.close() raises an UnboundLocalError for obvious
> reasons.

Neither work 100% correct, actually. If the file can be located and
opened, but not read, the message

    Could not locate the file "labtables.sql" File Not Found

is plain wrong.

Sybren
-- 
Sybren Stüvel
Stüvel IT - http://www.stuvel.eu/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to