title: Python Equivalent to Javascript querySelector
body: <p>In the Google Chrome's Inspect element tool you can: <code>right-click on an element &gt; copy &gt; copy js path</code> and you get a nice snippet of code like the following: <code>document.querySelector("#left-container &gt; div.left-content &gt; div &gt; div &gt; ul")</code> that easily gives you the "path" to a selected element in Javascript.</p>
  
  <p>My question is if there is an easy way to turn this javascript snippet into Python possibly using BeautifulSoup that can give me the elements I want from a webpage. </p>