I am working a image build project, I am trying to use python to create a structure, I know c is very easy to create a data structure, here is a c example.