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 16:13:16 -0800 (PST)	[thread overview]
Message-ID: <df95223a-c8f5-47c8-a5ce-a52e680ec30en@googlegroups.com> (raw)
In-Reply-To: <9e16c42a-b138-427c-81a4-bf5a723d252en@googlegroups.com>

On Saturday, December 5, 2020 at 10:57:54 AM UTC+11, Roger Mc wrote:
> On Saturday, December 5, 2020 at 10:42:26 AM UTC+11, Roger Mc wrote: 
> > > 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 

gnatcoll-docs/scripting.html  seems mostly concerned with exporting Ada resources.
I can't find information in it for importing Python modules into Ada.
Importing is briefly addressed by Ada Gem #54: Scripting Capabilities in GNAT (Part 2).

  reply	other threads:[~2020-12-05  0:13 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
2020-12-04 23:57         ` Roger Mc
2020-12-05  0:13           ` Roger Mc [this message]
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