Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!tudelft.nl!txtfeed1.tudelft.nl!multikabel.net!newsfeed20.multikabel.net!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'function,': 0.07; 'python': 0.08; 'finish.': 0.09; 'received:mail- lpp01m010-f46.google.com': 0.09; 'subprocess': 0.09; 'am,': 0.12; 'clues': 0.16; 'mean,': 0.16; 'subject:function': 0.16; 'cc:addr :python-list': 0.16; 'wrote:': 0.18; 'cc:no real name:2**0': 0.21; 'header:In-Reply-To:1': 0.22; 'runs': 0.23; 'messages.': 0.25; 'cc:2**0': 0.26; 'code': 0.26; 'function': 0.27; 'tried': 0.27; 'depends': 0.28; 'second': 0.28; 'message-id:@mail.gmail.com': 0.29; 'cc:addr:python.org': 0.29; 'error': 0.30; 'received:209.85.215.46': 0.32; "i've": 0.32; 'supposed': 0.32; 'tue,': 0.32; 'appreciated.': 0.34; 'causing': 0.34; 'another.': 0.34; 'list,': 0.36; 'run': 0.37; 'but': 0.37; 'received:google.com': 0.37; 'another': 0.37; 'received:209.85': 0.38; 'third': 0.38; 'url:org': 0.39; 'goes': 0.39; 'received:209.85.215': 0.39; 'received:209': 0.39; 'results': 0.64; 'here:': 0.67 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=aQe+nNI5wuxP1KeeaL3QPCE8wcjIhtAp+P+wXKbBmQc=; b=C+1+0Q7skab6bPa1sKdfiNR2juGO21i3oHjfAQnsBH1MEr49L8sS9JIHBLfLuwwr3H xGD/ess4Rm5MNGV+IFJD34JwJeQD4kRPqS5h7IkUBnavw5x6xdhH+QV22wbZvz3r6lnY 6wezxFnad65yKRnmpfo4GbEx+rrH2gqRrngLOpPRYqwPnt49Cs3fnUzEfRQ7M0gPOK0M v5LIlApiM13OZDmOLYF4jTJn8d2KmtMsXH2vl3SbxGuydrl3rrFHy8EI0PU7/LJhvIPN nk31V/Lj/gBntoGhQwcnRgQ4O43K2goqS/doJvbR5bjvAnLGN8lrFNOAO1DMqYVnAtGh QuaQ== MIME-Version: 1.0 In-Reply-To: <1331649332216-4574176.post@n6.nabble.com> References: <1331649332216-4574176.post@n6.nabble.com> From: Ian Kelly Date: Tue, 13 Mar 2012 08:54:10 -0600 Subject: Re: concatenate function To: ferreirafm Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1331650481 news.xs4all.nl 6901 [2001:888:2000:d::a6]:36334 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:21564 On Tue, Mar 13, 2012 at 8:35 AM, ferreirafm wrote: > Hi List, > I've coded three functions that I would like to concatenate. I mean, run > them one after another. The third function depends on the results of the > second function, which depends on the results of the first one. When I call > one function after another, python runs them at the same time causing > obvious errors messages. I've tried to call one of them from inside another > but no way. Any clues are appreciated. > Complete code goes here: > http://ompldr.org/vZDB4OQ They don't look to me like they would run at the same time -- subprocess.call is supposed to wait for the subprocess to finish. What error messages are you getting?