Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #21572
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <fil.oracle@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.024 |
| X-Spam-Evidence | '*H*': 0.95; '*S*': 0.00; 'indeed,': 0.07; 'python': 0.08; '[1]:': 0.09; 'context:': 0.09; 'subprocess': 0.09; 'nabble.com.': 0.16; 'robert,': 0.16; 'subject:function': 0.16; 'url:nabble': 0.16; 'wrote:': 0.18; "haven't": 0.20; 'archive': 0.21; 'header:In-Reply-To:1': 0.22; 'looks': 0.27; 'problem': 0.29; 'over.': 0.30; 'url:library': 0.31; 'message-id:@gmail.com': 0.31; 'file.': 0.31; 'list': 0.32; 'header:User-Agent:1': 0.33; 'calling': 0.34; 'thank': 0.35; 'to:addr:python-list': 0.35; 'url:python': 0.35; 'received:209.85.214': 0.36; 'but': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'bunch': 0.38; 'url:org': 0.39; 'mailing': 0.39; 'received:209': 0.39; 'to:addr:python.org': 0.40; 'worth': 0.61; 'your': 0.61; 'view': 0.61; 'taking': 0.66; 'processes,': 0.67; 'james,': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=0a+DU4sntblYHg1q41vamhJtHdRrzm7KJEMblGfnm4Y=; b=uRfaU61TXsvwCAApwFKNiCPJu0rTBURUGpYG8VWvhwBdr3QdJ9wDctoXliJ4yBuLOF OcagOKHJ8U09Af9B4hy4XpYm7uXZpQXgsNyeT4Qc2uURjPzR6QrD3e9kfr7jdXAZ14YT DmfO4irbSxnYiNR6yYAjSYr9GiSwznJJEhItkdLSL68f7OQii8XeKyn5RfESsLB/yEep 6V+QR3gvHNEK6tndut0cIGH91u3IClBDDRhoaDX9Gvo5LD+TqQAaCo+tEyZeEvMH8c/x ngLaYhFt01LlGoENhQjbZfJgNnRRyKLqXAcU4ZlVINcJLTh2BN73bhYTyY42ivFq3OgH DwzA== |
| Date | Tue, 13 Mar 2012 16:12:56 +0000 |
| From | James Elford <fil.oracle@gmail.com> |
| User-Agent | Mozilla/5.0 (X11; Linux i686; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: concatenate function |
| References | <1331649332216-4574176.post@n6.nabble.com> <4F5F6DAC.8000900@gmail.com> <1331654559793-4574511.post@n6.nabble.com> |
| In-Reply-To | <1331654559793-4574511.post@n6.nabble.com> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.620.1331655180.3037.python-list@python.org> (permalink) |
| Lines | 19 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1331655180 news.xs4all.nl 6987 [2001:888:2000:d::a6]:40276 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:21572 |
Show key headers only | View raw
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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: concatenate function James Elford <fil.oracle@gmail.com> - 2012-03-13 16:12 +0000
csiph-web