This tutorial from scrapingbee.com covers How to use XPath selectors in Python? as a standalone official training item (Related XPath web scraping questions:). There are multiple ways for using XPath selectors in Python.