Python Forum

Full Version: Importing/loading a library file (.so)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a Python extension library, written in C (name.so with PyInit_name entry point).

How do I load this file in Python? Preferably from the current directory with no installation, or else with minimal fuss.

(I am using Python 3.6.7 under Ubuntu.)