From: Richard Conroy Date: 2011-12-10T00:02:46+09:00 Subject: Re: Close? ... or have I been messing up from the get go? --bcaec53d5a93bfd7fa04b3aa1342 Content-Type: text/plain; charset=ISO-8859-1 On Fri, Dec 9, 2011 at 2:42 PM, Wayne Brisette wrote: > > when I've read files, I've never closed them! I've always been under the > assumption that reading a file closed the I/O stream automatically when > completed. Have I been under the wrong assumption from the get go? > > When you read in the info in a block, the file closes automatically. Otherwise you have to manually close it. -- http://richardconroy.blogspot.com | http://twitter.com/RichardConroy --bcaec53d5a93bfd7fa04b3aa1342--