<div>Running: IronPython 1.0.2190 (Beta) on .NET 2.0.50727.42</div>
<div>&nbsp;</div>
<div>C:\IronPython\Lib&gt;ironpythonconsole sgmllib.py &quot;c:\webhost\index.html&quot;<br>Traceback (most recent call last):<br>&nbsp; File C:\Documents and Settings\user\My Documents\Develop\IronPython\Lib\sgmllib.py, line 511, in Initialize
<br>&nbsp; File C:\Documents and Settings\user\My Documents\Develop\IronPython\Lib\sgmllib.py, line 506, in test$f38<br>&nbsp; File C:\Documents and Settings\user\My Documents\Develop\IronPython\Lib\sgmllib.py, line 95, in feed$f4<br>
&nbsp; File C:\Documents and Settings\user\My Documents\Develop\IronPython\Lib\sgmllib.py, line 116, in goahead$f7<br>TypeError: search() takes exactly 2 argument (3 given)</div>
<div>&nbsp;</div>
<div>I copied both sgmllib.py and its dependency markupbase.py into the IronPython's Lib directory before running the script. The two files are from Python 2.4 Library. The script runs with python 2.4&nbsp;and prints out the html tags and data in the console.
</div>
<div>&nbsp;</div>
<div>Mark Pilgrim's discusses sgmllib.py&nbsp;in Dive Into Python&nbsp;[<a href="http://diveintopython.org/html_processing/introducing_sgmllib.html">http://diveintopython.org/html_processing/introducing_sgmllib.html</a>]</div>
<div>&nbsp;</div>
<div>My overall objective is to get IronPython&nbsp;to run Mark Pilgrim's feedparser.py [<a href="http://feedparser.org">http://feedparser.org</a>]</div>
<div>&nbsp;</div>
<div>feedparser.py imports sgmllib, re, sys, copy, urlparse, time, rfc822, types, cgi, urllib, urllib2, CStringIO/StringIO, gzip/zlib, xml.sax,&nbsp;base64, binascii, cjkcodecs.aliases and a few other modules.&nbsp;So, it will be interesting.
</div>
<div>&nbsp;</div>
<div>Thanks in advance.</div>