comp.lang.ada
 help / color / mirror / Atom feed
From: Roger Mc <rogermcm2@gmail.com>
Subject: Re: Import Python library into an Ada package?
Date: Fri, 4 Dec 2020 15:42:24 -0800 (PST)	[thread overview]
Message-ID: <c6bf1a5c-4973-4540-95e7-b45279d538adn@googlegroups.com> (raw)
In-Reply-To: <rqeg1l$1fb$1@gioia.aioe.org>


> What about this: 
> 
> https://docs.adacore.com/gnatcoll-docs/scripting.html 
> 
> I have a rudimentary Python bindings independent on GNATColl, which I 
> use to run Python scripts from Ada. They were designed to load Python 
> dynamically, I did not want to make the application dependent on Python 
> installed. If you want, you can use them as a template. There is no 
> documentation, but the code using them. But as I said, better not... (:-))
> -- 
> Regards, 
> Dmitry A. Kazakov 
> http://www.dmitry-kazakov.de

I would really appreciate seeing your "rudimentary Python bindings ".
In the meantime I must study gnatcoll-docs/scripting.html more closely.
I have made a start using an example I found on the web but unfortunately it crashes with an EXC_SOFTWARE, Software generated exception which I think may be due to an invalid process descriptor.
Thanks,
Roger

  reply	other threads:[~2020-12-04 23:42 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-04  7:36 Import Python library into an Ada package? Roger Mc
2020-12-04 10:23 ` Dmitry A. Kazakov
2020-12-04 11:37   ` Roger Mc
2020-12-04 13:55     ` Simon Wright
2020-12-04 13:22 ` Niklas Holsti
2020-12-04 13:41   ` gautier...@hotmail.com
2020-12-04 18:32   ` Björn Lundin
2020-12-04 19:08     ` Roger Mc
2020-12-04 19:40       ` Niklas Holsti
2020-12-04 21:25         ` Björn Lundin
2020-12-04 23:33           ` Roger Mc
2020-12-04 21:09     ` Dmitry A. Kazakov
2020-12-04 21:15       ` Roger Mc
2020-12-04 21:12 ` Per Sandberg
2020-12-04 21:19   ` Roger Mc
2020-12-04 23:17     ` Dmitry A. Kazakov
2020-12-04 23:42       ` Roger Mc [this message]
2020-12-04 23:57         ` Roger Mc
2020-12-05  0:13           ` Roger Mc
2020-12-05  9:38         ` Dmitry A. Kazakov
     [not found] ` <f185d71f-2217-4e1f-b6bc-bd854738999an@googlegroups.com>
2020-12-16 23:58   ` Roger Mc
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox