<div dir="ltr"><div><a href="mailto:nobody@nowhere.com">nobody@nowhere.com</a> had an excellent suggestion that worked right off the bat and achieved exactly what I was after. Thanks all!</div><div>Tom</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Jan 21, 2013 at 9:04 AM, Dave Angel <span dir="ltr"><<a href="mailto:d@davea.name" target="_blank">d@davea.name</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 01/21/2013 06:25 AM, Tom Borkin wrote:<br>
</div><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div class="im">
Hi;<br>
I have this code:<br></div>
<snip><div class="im"><br>
for song in my_songs:<br>
   subprocess.call(['notepad.exe'<u></u>, '%s.txt' % song])<br>
   print song<br>
<br>
It opens the first song and hangs on subsequent songs. It doesn't open the<br>
next song or execute the print until I have closed the first one. I want it<br>
to open all in the list, one after another, so I have all those songs<br>
available. Please advise.<br>
</div></blockquote>
<br>
Why not just pass all the filenames as parameters in one invocation of notepad?  Assuming Notepad is written reasonably, that'll give it all to you in one window, instead of opening many separate ones.<span class="HOEnZb"><font color="#888888"><br>

<br>
<br>
-- <br>
DaveA<br>
-- <br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/<u></u>mailman/listinfo/python-list</a><br>
</font></span></blockquote></div><br></div>