2
for l in d.items('nl,de,en'):
if l.tag()=='nl':
dothis()
어떻게 pyquery 객체와 관련된 태그를 찾을 수 있습니까? 의 메서드 태그()는 존재하지 않습니다 ...pyquery 객체의 태그 이름을 찾으십시오.
for l in d.items('nl,de,en'):
if l.tag()=='nl':
dothis()
어떻게 pyquery 객체와 관련된 태그를 찾을 수 있습니까? 의 메서드 태그()는 존재하지 않습니다 ...pyquery 객체의 태그 이름을 찾으십시오.
올바른 방법으로 태그 이름을 얻으려면 is_()
기능이 있습니다. 워드 프로세서에서
for l in d.items('nl,de,en'):
if l.is_('nl')
dothis()
: https://pythonhosted.org/pyquery/modules/pyquery/pyquery.html#PyQuery.is
은 도움 바랍니다.
나는 그것을 얻었다 고 생각한다 : l [0] .tag .... – user104100