Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #21572 > unrolled thread

Re: concatenate function

Started byJames Elford <fil.oracle@gmail.com>
First post2012-03-13 16:12 +0000
Last post2012-03-13 16:12 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: concatenate function James Elford <fil.oracle@gmail.com> - 2012-03-13 16:12 +0000

#21572 — Re: concatenate function

FromJames Elford <fil.oracle@gmail.com>
Date2012-03-13 16:12 +0000
SubjectRe: concatenate function
Message-ID<mailman.620.1331655180.3037.python-list@python.org>
On 13/03/12 16:02, ferreirafm wrote:
> Hi James, thank you for your replay. Indeed, the problem is qsub. And as
> warned by Robert, I don't have functions properly, but just scripts.
>  
> 
> --
> View this message in context: http://python.6.n6.nabble.com/concatenate-function-tp4574176p4574511.html
> Sent from the Python - python-list mailing list archive at Nabble.com.

It looks like you're not calling wait() on your subprocesses: you're
effectively launching a bunch of processes, then not waiting for them to
finish before you ask the next process to operate on the same file.

If you haven't given it a good look-over already, the subprocess
documentation [1] is worth taking a little time over.

	[1]: http://docs.python.org/library/subprocess.html#popen-objects

James

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web