You have to expose structure example like this and then create a variable of this structure in python and send this variable as argument.
Class_<example> (“example”)
.def_readwrite(“m_day” , & example:: day)
.def_readwrite(“m_value” , & example:: m_value)
;
Hope this will help..