> ok so I put everything in a class ? such as examples/mesh.py ? can you guide me ?

the way I would do it:
- rename the swig lib to openmeeg_core
- create openmeeg.py that does "from  openmeeg_core import *"
- add all the functions in openmeeg.py eg. load_headmodel

so only 2 files are added to the python path : openmeeg_core.so and openmeeg.py

makes sense?

then om_basics.py and om_compare.py are scripts/commands with --help
installed in /bin
however I find the names not explicit enough.

what do you think?