Once in a while you want to extract some values from a source file. For example if you want to extract a version number from code to process in a CI server. This example uses the python clang bindings to parse a cpp file and extracts a version number form it. This example used some…