Python 3.2 | WIndows 7 -- Multiprocessing and files not closing

Piet van Oostrum piet at vanoostrum.org
Thu Oct 10 12:38:19 EDT 2013


Isaac Gerg <isaac.gerg at 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 <piet at vanoostrum.org>
WWW: http://pietvanoostrum.com/
PGP key: [8DAE142BE17999C4]



More information about the Python-list mailing list