I didn't know about tempfile.NamedTemporaryFile ! looks nice because you
don't care about the file anymore, you just use it.
another solution could be to wrap the data (that is each line in the file
still in memory) into mysql statements such as 'insert into table (aa,
bb, cc) values ( 11,
Hi everyone,
In my program I have this code :
self.run_cmd_0 = subprocess.Popen(self.cmd_0, stdout = subprocess.PIPE,
shell = True) #(1)
self.run_cmd_1 = subprocess.Popen(self.TOCOL, stdin =
self.run_cmd_0.stdout, stdout = subprocess.PIPE, shell = True)#(2)
self.result_0 =
Monika Jisswel wrote:
Hi everyone,
In my program I have this code :
self.run_cmd_0 = subprocess.Popen(self.cmd_0, stdout =
subprocess.PIPE, shell = True) #(1)
self.run_cmd_1 = subprocess.Popen(self.TOCOL, stdin =
self.run_cmd_0.stdout, stdout = subprocess.PIPE, shell =
You know bob, you are very clever, I have used RAM disk for realtime
recording of audio before but it never occured to me to use it for light
jobs like this one, I just compeletely ignored it as an option by the way
this openes a lot of doors for many of my other programs.
but wouldn't it be
Monika Jisswel wrote:
You know bob, you are very clever
Yes. I've observed that before.
, I have used RAM disk for realtime recording of audio before but it
never occured to me to use it for light jobs like this one, I just
compeletely ignored it as an option by the way this openes a lot of