title: Get wikipedia abstract using python
body: <p>I want to get the <code>first paragraph</code> of a <code>Wikipedia</code> article. So i'm using <code>wikitools</code>. </p>
  
  <pre><code>from wikitools import wiki
  from wikitools import api
  from wikitools import page
  
  wikiobj = wiki.Wiki("http://en.wikipedia.org/w/api.php")
  wikipage = page.Page(wikiobj, title="Office_Space")
  wikidata = wikipage.getWikiText(True)
  print wikidata
  </code></pre>
  
  <p>Here is <a href="http://dpaste.org/ZXwiA/" rel="nofollow">result of wikitools</a>. In this result there are so many tags. I don't want all this.</p>
  
  <p>I need only following part from <code>article</code>. (Copy paste from wikipedia). Is it possible? thanks. Or is there any another alternative available. Thank you so much. </p>
  
  <pre><code>   Office Space is a 1999 American comedy film satirizing work life in a typical 1990s software company. Written and directed by Mike Judge, it focuses on a handful of individuals fed up with their jobs portrayed by Ron Livingston, Jennifer Aniston, Gary Cole, David Herman, Ajay Naidu, and Diedrich Bader.
     The film's sympathetic depiction of ordinary IT workers garnered a cult following within that field, but also addresses themes familiar to white collar employees in general.
     Shot in Las Colinas and Austin, Texas, Office Space is based on Judge's Milton cartoon series. It was his first foray into live action film and second full length motion picture release.
  </code></pre>