Re: [Tutor] Fw: [docs] Python Embedding PyImport_ImportModule

2019-07-09 Thread David
On Tue, 9 Jul 2019 at 03:13, Alan Gauld via Tutor  wrote:
> On 08/07/2019 15:14, Ibarra, Jesse wrote:
> >
> > I cannot seem to figure this potential bug out.
>
> Neither can we since we cannot see any code.

I'm guessing this might be the original post:
https://mail.python.org/pipermail/docs/2019-June/041177.html

And while trying to find that one, I noticed that Jesse asked
another question on a similar topic:
https://mail.python.org/pipermail/docs/2019-June/041109.html

The questions are about calling Python functions from C code.
So asking the docs mailing list isn't likely to produce useful responses.

It appears that some good advice on what would be the best place to
ask these questions is needed, can anyone here provide that
information?
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Fw: [docs] Python Embedding PyImport_ImportModule

2019-07-08 Thread Alan Gauld via Tutor
On 08/07/2019 15:14, Ibarra, Jesse wrote:
> I cannot seem to figure this potential bug out.

Neither can we since we cannot see any code.

You need to give us some context. What are you trying to do? What
libraries are you using? Which OS and Python versions?

Did you get ay errors? If so post them in their entirety.

But most of all post the code!


-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos


___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


[Tutor] Fw: [docs] Python Embedding PyImport_ImportModule

2019-07-08 Thread Ibarra, Jesse
I cannot seem to figure this potential bug out.

Please advise,

Jesse Ibarra



From: Julien Palard 
Sent: Sunday, July 7, 2019 2:04 PM
To: Ibarra, Jesse
Subject: Re: [docs] Python Embedding PyImport_ImportModule

Hi Jesse,

> Why does this code only print the result(array([ 1.,  1.,  1.,  1.,  1.])) 
> once, when I am calling the python code twice?

You're on a mailing list about Python documentation, not embedding support. 
Have you tried https://mail.python.org/mailman/listinfo/tutor?

Bests,
--
Julien Palard
https://mdk.fr

___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor