In my Python project I want to import a self-compiled .so-file named example.cpython-38-x86_64-linux.so written with pybind11 and stored in a subdirectory called bin.
To do so I use import bin.example as example which works just fine when executing the script.
However neither PyLint nor the autocompletion of VSCode seem to recognize this relative import. They just keep giving me squiggly lines under my import statement and no autocompletion whatsoever.
Is there a way to inform them about the present module or a completely different, more elegant way to include my library?