How to diagnose import error when importing from .so file?

Christian Gollwitzer auriocus at gmx.de
Thu Jul 30 10:34:50 EDT 2020


Am 29.07.20 um 23:01 schrieb Chris Green:
> Even more annoying is that most of what's in pyscand.so is constants,
> there's only a couple of functions in there, so there's very little to
> it really.
> 
If there are really only constants, you could import it into Python 2 
and dump the content e.g. as a JSON file to read it in under Python 3.
	
	Christian


More information about the Python-list mailing list