title: DOM related question and problem
body: <p>these day im making python script related with DOM.</p>
  
  <p>problem is these day many website structure is very complicate .</p>
  
  <p>what is best method to check DOM structure and path..</p>
  
  <p>i mean...following is some example.</p>
  
  <p>what is best method to check  can extract such like following info quickly?</p>
  
  <p>before i was spent much time to extract such info .</p>
  
  <p>and yes im also new to python and DOM.</p>
  
  <pre><code>IE.Document.Frames(1).Document.forms('comment').value = 'hello'
  </code></pre>
  
  <p>if i use DOM inspector, can i extract such info quickly ? if so would you show me some sample?</p>
  
  <p>here is some site . i want to extract some dom info. </p>
  
  <p>today i was spent all day long to extract what is dom info. but failed</p>
  
  <p><a href="http://www.segye.com/Articles/News/Politics/Article.asp?aid=20091118001261&amp;ctg1=06&amp;ctg2=00&amp;subctg1=06&amp;subctg2=00&amp;cid=0101010600000" rel="nofollow noreferrer">http://www.segye.com/Articles/News/Politics/Article.asp?aid=20091118001261&amp;ctg1=06&amp;ctg2=00&amp;subctg1=06&amp;subctg2=00&amp;cid=0101010600000</a></p>
  
  <p>at the end of this page,can find some comment input box.</p>
  
  <p>i want to know what kind of dom element should have to use, such like </p>
  
  <pre><code>IE.Document.Frames(1).Document.forms('comment').value = 'hello'
  </code></pre>
  
  <p>anyhelp much appreciate thanks</p>