You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oi, seu script funciona muito bem, belo trabalho!
Eu estou querendo usar seu script pra alimentar um sistema externo que tenho e quando rodei na pasta XML, aparece o seguinte.
Traceback (most recent call last):
File "C:\Users\kenyo\Documents\XML\app.py", line 32, in <module>
soup.find('dest').find('cnpj').getText(),
AttributeError: 'NoneType' object has no attribute 'getText'
Pelo que eu entendi o soup.find retorna Vazio e dá erro no getText(). Saberia uma solução para este problema?
Enquanto isso vou dar uma estudada em python, se achar uma solução retorno com PR.
The text was updated successfully, but these errors were encountered:
Oi, seu script funciona muito bem, belo trabalho!
Eu estou querendo usar seu script pra alimentar um sistema externo que tenho e quando rodei na pasta XML, aparece o seguinte.
Pelo que eu entendi o soup.find retorna Vazio e dá erro no getText(). Saberia uma solução para este problema?
Enquanto isso vou dar uma estudada em python, se achar uma solução retorno com PR.
The text was updated successfully, but these errors were encountered: