Re: I/O error 13 Permission denied -Cannot access file as it is used by another process.

2008-08-28 Thread Tim Golden
aditya shukla wrote: Hello folks, I am creating a python script[windows vista and python2.5] which accesses another program(prog2).I my python script i am creating a temporary file and i write the output of prog2 in this temporary file. temp = tempfile.NamedTemporaryFile(suffix='_suffix',pr

I/O error 13 Permission denied -Cannot access file as it is used by another process.

2008-08-28 Thread aditya shukla
Hello folks, I am creating a python script[windows vista and python2.5] which accesses another program(prog2).I my python script i am creating a temporary file and i write the output of prog2 in this temporary file. temp = tempfile.NamedTemporaryFile(suffix='_suffix',prefix='prefix_',dir='C:\\Pyt