![]() |
Importing/loading a library file (.so) - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Importing/loading a library file (.so) (/thread-20667.html) |
Importing/loading a library file (.so) - tomasby - Aug-24-2019 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.) |