How to import module when module name has a '-' dash or hyphen in it?
foo-bar is not an identifier. rename the file to
import is not your goal (as in: you don't care what happens with
sys.modules, you don't need it to import itself), just getting all of the file's globals into your own scope, you can use
# contents of foo-bar.pybaz = 'quux'