I am new to python, I have looked at boost python, and it looks very impressive. However going through the introduction I can not find any examples where, vector of objects
Autopulated's reason was essentially correct, but the code was more complicated then necessary.
The vector_indexing_suite can do all that work for you:
class_< std::vector >("VectorOfX") .def(vector_indexing_suite< std::vector >() ) ;
There is a map_indexing_suite as well.