Sorry, I am just providing pseudo code since I the code i have is quite large.

As I mentioned, the code works fine when I remove the multirpcessing stuff so 
the filename is not the issue (though you are right in your correction).

Someone with the same problem posted a smaller, more complete example here:

http://stackoverflow.com/questions/948119/preventing-file-handle-inheritance-in-multiprocessing-lib

None of the solutions posted work.

On Thursday, October 10, 2013 12:38:19 PM UTC-4, Piet van Oostrum wrote:
> Isaac Gerg <isaac.g...@gergltd.com> writes:
> 
> 
> 
> > I have a function that looks like the following:
> 
> 
> 
> That doesn't look like a function
> 
> 
> 
> >
> 
> > #---------------------------------
> 
> > filename = 'c:\testfile.h5'
> 
> 
> 
> Your filename is most probably wrong. It should be something like:
> 
> 
> 
> filename = 'c:/testfile.h5'
> 
> filename = 'c:\\testfile.h5'
> 
> filename = r'c:\testfile.h5'
> 
> -- 
> 
> Piet van Oostrum <p...@vanoostrum.org>
> 
> WWW: http://pietvanoostrum.com/
> 
> PGP key: [8DAE142BE17999C4]
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to