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


Groups > comp.lang.python > #82701

Re: Old newbie needs help.

References <c4f9fd6d-0ac2-4238-ac99-509acd0ba5e8@googlegroups.com>
Date 2014-12-20 11:40 -0500
Subject Re: Old newbie needs help.
From Larry Martell <larry.martell@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.17073.1419093614.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Sat, Dec 20, 2014 at 11:34 AM, John Culleton <john@wexfordpress.com> 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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Old newbie needs help. John Culleton <john@wexfordpress.com> - 2014-12-20 08:34 -0800
  Re: Old newbie needs help. Larry Martell <larry.martell@gmail.com> - 2014-12-20 11:40 -0500
  Re: Old newbie needs help. Ian Kelly <ian.g.kelly@gmail.com> - 2014-12-23 13:09 -0700

csiph-web