(overview_python_handbook_py_cpp_function)= # Use a C++ function interactively This section describes how to use a C++ function within the python framework. The idea is that every of our surrogate model discussed later-on on can be exported in C++ and so they can be used either throughout the {{uranie}} classes (for instance to evaluate a set of new points) or, for single evaluation, in either C++ or python. This macro will focus on the latter part. This macro is also detailled [](#use_cases_howto_py_function_py). {{ "```{literalinclude} " + parent_dir + "/roottest/uranie/doc/overview/use_cases/python/howtoLoadFunction.py\n" + ":language: python\n" + ":lines: 1-5,11-24\n" + "```" }} The macro shown above, is an example of how to load a function and use it in a single-point estimation. Its result is discussed in [](#use_cases_howto_py_function_py).