Velocity Reviews

Velocity Reviews (
-   Python (
-   -   Re: Windows problem (

Dave Angel 01-21-2013 01:04 PM

Re: Windows problem
On 01/21/2013 06:25 AM, Tom Borkin wrote:
> Hi;
> I have this code:
> <snip>
> for song in my_songs:
>['notepad.exe', '%s.txt' % song])
> print song
> It opens the first song and hangs on subsequent songs. It doesn't open the
> next song or execute the print until I have closed the first one. I want it
> to open all in the list, one after another, so I have all those songs
> available. Please advise.

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.


All times are GMT. The time now is 07:35 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.