The Python import works by ensuring the directory of the module or package is in sys.path, and then it does a Python import foo. The original code was not escaping the backslashes in the directory path, so this wasn't working.
(Discovered after chasing alternative ways of importing a module from a path.)