def wrapper_function(instance):
    result = instance.Addition()
myfile = open('C:\\...\\testboostexample.txt', 'w')
output = (
    'First variable is {0}, second variable is {1} and finally the addition is {2}'
    .format(instance.Value1, instance.Value2, result))
How to expose a C++ class to Python without building a module