From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.36.225.75 with SMTP id n72mr6259100ith.3.1476878507149; Wed, 19 Oct 2016 05:01:47 -0700 (PDT) X-Received: by 10.157.10.98 with SMTP id 89mr848531otg.3.1476878507109; Wed, 19 Oct 2016 05:01:47 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!66no198850itl.0!news-out.google.com!203ni654itk.0!nntp.google.com!e187no198042itc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 19 Oct 2016 05:01:46 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=85.167.237.189; posting-account=bPTmZAoAAAC_6HP9XLKB9aAAxBa6BuOR NNTP-Posting-Host: 85.167.237.189 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <9f771768-9d3e-43a1-b2e7-048851f5b4f9@googlegroups.com> Subject: Re: Where to find good/simple examples for gnatcoll (python)? From: reinkor Injection-Date: Wed, 19 Oct 2016 12:01:47 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:32134 Date: 2016-10-19T05:01:46-07:00 List-Id: Thanks so far, but as I understand, the example here is about the opposite:= to access Ada from Python. reinert onsdag 19. oktober 2016 10.15.21 UTC+2 skrev Vratislav Podzimek f=C3=B8lgen= de: > On Tue, 18 Oct 2016 10:48:17 -0700, reinkor wrote: >=20 > > Hi, > >=20 > > I try to learn fast to use gnatcoll (especially to access python > > functions). > > I would therefore like to have simple examples where an ada program > > calls a python script calculating for example 2 + 3 and return 5 (to > > ada). > > Did not directly find this in the documentation included in gnatcoll > > debian packages. > >=20 > > Somebody any hint? > >=20 > > reinert >=20 > Maybe http://www.adacore.com/adaanswers/gems/gem-106-lady-ada-kisses- > python-part-2/ could be helpful?