Extending python.

Larry Bates lbates at swamisoft.com
Fri Aug 6 23:07:56 CEST 2004


Is the C that you wish to call located in a .DLL?
If so, I can possibly help.

Larry Bates
Syscon, Inc.

"Grzegorz Dostatni" <grzegorz at ee.ualberta.ca> wrote in message
news:Pine.LNX.4.44.0408061307140.8941-100000 at e5-05.ee.ualberta.ca...
>
> Followup.
>
> Thanks, I'll re-read this again.
>
> Small change. I've managed to extend python with a small module (just
> using the .o file) under Linux. It appears that my problems are a bit more
> windows centric. Anyone willing and able to help me with that?
>
> Greg
>
> "In theory, there is no difference between theory and practice.
>  But, in practice, there is."
> - Jan L.A. van de Snepscheut
>
>
> On Fri, 6 Aug 2004, Batista, Facundo wrote:
>
> > Maybe this will help you:
> >
> > http://www.python.org/doc/faq/extending.html
> >
> > . Facundo
> >
> > #- -----Mensaje original-----
> > #- De: Grzegorz Dostatni [mailto:grzegorz at ee.ualberta.ca]
> > #- Enviado el: Viernes, 06 de Agosto de 2004 13:35
> > #- Para: python-list at python.org
> > #- Asunto: Extending python.
> > #-
> > #-
> > #-
> > #- Cheers.
> > #-
> > #- More questions.
> > #- Let's say I'm trying to extend python with a c module. That
> > #- module cannot
> > #- be dynamically loaded (for reasons outside my control). I
> > #- have to create a
> > #- custom python executable (or more likely custom python library).
> > #- How would I do that? Is there documentation on that
> > #- somewhere? Most of
> > #- what I've seen was for dynamic loading.
> > #-
> > #- 2nd Step:
> > #- Let's say I'm doing it under windows, using Visual Studio. Is there
> > #- anything I have to be aware of?
> > #-
> > #- 3rd Step:
> > #- Let's say I don't have the source available. I do have the
> > #- object files,
> > #- the resulting libraries and the header files though.
> > #-
> > #- Greg
> > #-
> > #- "The optimist proclaims that we live in the best of all
> > #- possible worlds,
> > #-  and the pessimist fears this is true."
> > #- - James Branch Cabell
> > #-
> > #-
> > #- --
> > #- http://mail.python.org/mailman/listinfo/python-list
> > #-
> >
>





More information about the Python-list mailing list