Re: Python 3.2 | WIndows 7 -- Multiprocessing and files not closing
On Thu, 10 Oct 2013 18:16:07 -0500, mapoe wrote: > On Thu, 10 Oct 2013 08:31:21 -0700, Isaac Gerg wrote: > >> I have a function that looks like the following: >> >> #- >> filename = 'c:\testfile.h5' >> f = open(filen
Re: Python 3.2 | WIndows 7 -- Multiprocessing and files not closing
On Thu, 10 Oct 2013 08:31:21 -0700, Isaac Gerg wrote: > I have a function that looks like the following: > > #- > filename = 'c:\testfile.h5' > f = open(filename,'r') > data = f.read() it seems kind of obvious from your sample: add: f.close() > q = multiprocessin