code: public static void exec(String code){
  
          code = getFunctionalCode("__f_" + Thread.currentThread().getId(), code);
          acquireGIL();
          log.info("CPython: PyRun_SimpleStringFlag()");
          log.info(code);
          int result = PyRun_SimpleStringFlags(code, null);
          if (result != 0){
              PyErr_Print();
              throw new RuntimeException("exec failed");
          }
          log.info("Exec done");
          releaseGIL();
      }
docs: Executes python code. Also manages python thread state.
  @param code