Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!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.061 X-Spam-Evidence: '*H*': 0.88; '*S*': 0.00; 'executable': 0.09; 'python': 0.11; 'wrote': 0.14; 'callable': 0.16; 'sat,': 0.16; 'language': 0.16; 'wrote:': 0.18; 'slightly': 0.19; 'programming': 0.22; 'spread': 0.22; 'to:name:python-list@python.org': 0.22; 'oriented': 0.24; 'script': 0.25; 'pass': 0.26; 'header:In-Reply- To:1': 0.27; 'am,': 0.29; 'dec': 0.30; 'message- id:@mail.gmail.com': 0.30; 'program,': 0.31; 'obscure': 0.31; 'url:python': 0.33; 'received:google.com': 0.35; 'url:org': 0.36; 'url:library': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'john': 0.61; 'first': 0.61; 'back': 0.62; 'information': 0.63; '20,': 0.68; 'subject:Old': 0.84; 'subject:needs': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=se5K0XN5hngqpJWStSiYmDR7Lr1hMpeQ558X05tJwG4=; b=i12kKmveVk0JG9SyU9y1YeXJech5CW7r2uoyYpqgPl+ymimnY5P7cmxke40gx/e1sy 41VurIBjNWt1mK8MOtb6gzUeiZWIy7nTjHoSQl81QH/CNxHYoTHCaUib5jLKKqzTlQOX e8xtSnwrvZRo5if3odVBXQtE2A1UkI8F51+C+eNbomHJZ4v7V9H8EWuDTEyoiXNcaeGg vmkY2SMm9sN+oRo7UuWVhOAJmsDV5dCUGymM2h3lxIMY8/eZalceDH/TVBbCz74pkrBT 3KcPnV8ErDj60vy9bX7Bm9F5FvkWcUTbm7+PzcdSJ2gg4jzeFgkSI958vaYbh1k6pgFG DHlg== MIME-Version: 1.0 X-Received: by 10.180.211.196 with SMTP id ne4mr15668952wic.71.1419093606665; Sat, 20 Dec 2014 08:40:06 -0800 (PST) In-Reply-To: References: Date: Sat, 20 Dec 2014 11:40:06 -0500 Subject: Re: Old newbie needs help. From: Larry Martell To: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1419093614 news.xs4all.nl 2944 [2001:888:2000:d::a6]:40023 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:82701 On Sat, Dec 20, 2014 at 11:34 AM, John Culleton wrote: > This week I wrote my first Python program, a script callable from Scribus, a DTP program. It ran! Now I want to spread my wings a little. How do I call a C language executable subprogram from Python and pass information back and forth? > > I am of the old school, meaning that object oriented programming is only slightly > less obscure to me than Sanscrit or Navaho. So be gentle. > > Python 2.7.5 on Slackware 14.1 Look at the subprocess module: https://docs.python.org/2/library/subprocess.html