Michael B. Trausch wrote:
> Not really über-qualified to say anything, but I think that the
> following would be better:
>
> try:
> f = open('file.sql')
> script = f.read()
> f.close()
> except IOError:
> wx.MessageBox('Message', 'Message Title')I was thinking of something like this actually. > Not sure about the with-- I just went to read the PEP on it, and it > confused me greatly. :-) So, I don't know. Ditto. :) -- http://mail.python.org/mailman/listinfo/python-list
