[IronPython] Newbie Q - Simple HTTP XML Capture?

S C igdev at hotmail.com
Thu Sep 27 21:07:03 CEST 2007

This runs in the vanilla Python 2.4 interpreter on Win32 but not if I paste it into the Visual Studio 2005 (with IronPython VSSIP installed) IDE:
import urllib
from xml.dom import minidom
remoteSock = urllib.urlopen("")
#policyXml = remoteSock.read()
#print policyXml
policyXmlDoc = minidom.parse(remoteSock)
print policyXmlDoc.toxml()
What steps should I take to convert this to something working?
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20070927/8a512066/attachment.html>

More information about the Ironpython-users mailing list