Сообщество IT-специалистов
Ответы на любые вопросы об IT
Профессиональное развитие в IT
from lxml import etree tree = etree.parse('document.xml') print tree.xpath("/document/name/text()") print tree.xpath("/document/hobby/text()")
outfile.write('%s\n' % list(page)[10])
subprocess.call(cmd.split(),shell=True)
', '.join(map(str, a))