How to convert this wsdl code to Python script?

Hi Legends,

I am a very very basic learner in the PY, we are trying to connect SAP web service to PY (Extract the data), SAP provides standard web services to access the system.

In order to write py script, I am having the wsdl script. I have no idea how to convert this to py script, in below i give my sample query WSDL script

   <soap:Header/>
   <soap:Body>
       <n0:CustomerInvoiceByElementsQuery_sync 
         <CustomerInvoiceSelectionByElements>
            <SelectionByBaseBTDReferenceID>
               <InclusionExclusionCode>I</InclusionExclusionCode>
               <IntervalBoundaryTypeCode>1</IntervalBoundaryTypeCode>
               <LowerBoundaryIdentifier>UOB32-PO-2004-N-000058</LowerBoundaryIdentifier>
            </SelectionByBaseBTDReferenceID>
         </CustomerInvoiceSelectionByElements>
      </n0:CustomerInvoiceByElementsQuery_sync>
   </soap:Body>
</soap:Envelope>

How to convert the above sample script to Py script, Please help me