python embedding connects well