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


Groups > comp.lang.python > #51117

Re: how: embed + extend to control my running app?

X-Received by 10.67.3.98 with SMTP id bv2mr6351440pad.2.1374642931429; Tue, 23 Jul 2013 22:15:31 -0700 (PDT)
X-Received by 10.50.57.1 with SMTP id e1mr143129igq.10.1374642931237; Tue, 23 Jul 2013 22:15:31 -0700 (PDT)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!169.228.66.3.MISMATCH!ihnp4.UCSD.Edu!usenet.stanford.edu!qx7no52369715pbc.1!news-out.google.com!b2ni84403pby.1!nntp.google.com!ko2no95534949pbb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.python
Date Tue, 23 Jul 2013 22:15:30 -0700 (PDT)
In-Reply-To <mailman.4893.1374282263.3114.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=24.176.229.213; posting-account=0wmmMQoAAADqQrrJBJglIT2jTr8NzmR2
NNTP-Posting-Host 24.176.229.213
References <6c1a5595-b2f7-4712-8c9c-be664dd8ed18@googlegroups.com> <mailman.4893.1374282263.3114.python-list@python.org>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <823607d0-9365-4dbb-b80c-8221bb514b01@googlegroups.com> (permalink)
Subject Re: how: embed + extend to control my running app?
From "David M. Cotter" <me@davecotter.com>
Injection-Date Wed, 24 Jul 2013 05:15:31 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.lang.python:51117

Show key headers only | View raw


i'm targeting Mac and Windows.  Let's skip the thing about "it should work when my app isn't running", just assume it's going to be embedded, no pipes or sockets necessary.

For Mac, I understand i need to "create" (?) a python.dylib, but i find no directions for that at the expected location:

http://docs.python.org/2/extending/embedding.html

is there some wiki page explaining how to create this for use in MacOS / Xcode?

Now for Windows: same thing, i think i must create a .dll, right?  Is there a tutorial for that?

After that, i can link to these items, then in my C++ app, just #include "Python.h" and i've covered step 1.

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


Thread

how: embed + extend to control my running app? "David M. Cotter" <me@davecotter.com> - 2013-07-19 16:52 -0700
  Re: how: embed + extend to control my running app? Chris Angelico <rosuav@gmail.com> - 2013-07-20 11:04 +1000
    Re: how: embed + extend to control my running app? "David M. Cotter" <me@davecotter.com> - 2013-07-23 22:15 -0700
      Re: how: embed + extend to control my running app? Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2013-07-24 22:53 +1200
        Re: how: embed + extend to control my running app? "David M. Cotter" <me@davecotter.com> - 2013-07-24 09:10 -0700
          Re: how: embed + extend to control my running app? Chris Angelico <rosuav@gmail.com> - 2013-07-25 02:25 +1000
            Re: how: embed + extend to control my running app? "David M. Cotter" <me@davecotter.com> - 2013-07-24 10:40 -0700
              Re: how: embed + extend to control my running app? "David M. Cotter" <me@davecotter.com> - 2013-07-24 12:35 -0700
        Re: how: embed + extend to control my running app? "David M. Cotter" <me@davecotter.com> - 2013-07-24 13:37 -0700
          Re: how: embed + extend to control my running app? "David M. Cotter" <me@davecotter.com> - 2013-07-24 17:51 -0700
            Re: how: embed + extend to control my running app? Dave Angel <davea@davea.name> - 2013-07-24 21:14 -0400
              Re: how: embed + extend to control my running app? "David M. Cotter" <me@davecotter.com> - 2013-07-25 11:24 -0700

csiph-web