Codes to generate the numerical examples in the publication "INVERSE ELECTROMAGNETIC SCATTERING PROBLEMS FOR LONG TUBULAR OBJECTS". These codes use the Python programming language and are based on the bempp boundary element library (https://bempp.com).