Re: building 3.7.1 from source, _ctypes and libffi troubles

2018-12-21 Thread Anssi Saari
"Fetchinson . via Python-list" writes: > And as far as I know pkg-config is used by python's configure script > so everything should be fine. I also set > LD_LIBRARY_PATH=/home/fetch/opt/lib:/home/fetch/opt/lib64 and also > C_INCLUDE_PATH=/home/fetch/opt/include I looked into this a little. I fo

release: a function to express the 4 steps of math calculation in markdown format

2018-12-21 Thread oyster
I wrote a post on https://stackoverflow.com/questions/53833884/failed-to-show-calculation-steps-with-sympy-and-markdown Now I wrote https://github.com/retsyo/expand_expression to answer the post partly I released it for it can help others. Thanks -- https://mail.python.org/mailman/listinfo/pyth

Re: ah, progress...

2018-12-21 Thread ant
dieter wrote: > ant writes: >> ... >> in order to get this far below i had to edit each >> file and put a try: except: around each import >> statment checking if the module could be found >> like (as an example): >> >> try: >> import config as cfg >> except: >> import frog.config as cfg

Re: Mask two images with python

2018-12-21 Thread ant
Umar Yusuf wrote: ... > Hello Oscar, > Thank you for your time.. Here is attached is an example set of the images: > https://drive.google.com/file/d/1hyiWswx4GCZQDepXZjktq2zgM_LBbxXt/view?usp=sharing > basically, it is "design + mask and glow = result" that didn't work for me at all... are

Re: Mask two images with python

2018-12-21 Thread Oscar Benjamin
On Fri, 21 Dec 2018 at 09:32, Umar Yusuf wrote: > > On Wednesday, 19 December 2018 19:22:51 UTC+1, Oscar Benjamin wrote: > > On Wed, 19 Dec 2018 at 05:42, Umar Yusuf wrote: > > > > > > Hello there, > > > How do I supper impose an image design on a transparent png image? > > > > > > I have tried

Re: Mask two images with python

2018-12-21 Thread Umar Yusuf
On Wednesday, 19 December 2018 19:22:51 UTC+1, Oscar Benjamin wrote: > On Wed, 19 Dec 2018 at 05:42, Umar Yusuf wrote: > > > > Hello there, > > How do I supper impose an image design on a transparent png image? > > > > I have tried to use OpenCV's "cv2.bitwise_and" function to no success. I > >

Side by side comparison - CPython, nuitka, PyPy

2018-12-21 Thread Anthony Flury via Python-list
I thought I would look at a side by side comparison of CPython, nuitka and PyPy *The functionality under test** * I have a library (called primelib) which implements a Sieve of Erathoneses in pure Python - it was orginally written as part of my project Euler attempts Not only does it build