{"id":226,"date":"2007-06-20T06:53:26","date_gmt":"2007-06-20T11:53:26","guid":{"rendered":"http:\/\/crschmidt.net\/blog\/?p=226"},"modified":"2007-06-20T06:53:26","modified_gmt":"2007-06-20T11:53:26","slug":"first-attempt-at-ironpython","status":"publish","type":"post","link":"https:\/\/crschmidt.net\/blog\/archives\/226\/first-attempt-at-ironpython\/","title":{"rendered":"First Attempt at IronPython"},"content":{"rendered":"<p>My first attempt to do something useful with IronPython:<\/p>\n<pre>>>> import urllib\n>>> urllib.urlopen(\"http:\/\/crschmidt.net\/\")\nTraceback (most recent call last):\n  File httplib, line unknown, in getreply\n  File httplib, line unknown, in getresponse\n  File httplib, line unknown, in __init__\n  File System, line unknown, in set_ReceiveBufferSize\n  File System, line unknown, in SetSocketOption\nWindowsError: Invalid arguments\n<\/pre>\n<p>Note that I&#8217;m working on OS X, and my exception is a WindowsError. Fancy.<\/p>\n<p>(I was inspired by Bill Thorp&#8217;s efforts to get TileCache working on IronPython: <a href=\"http:\/\/mapwrecker.wordpress.com\/2007\/06\/18\/python-vs-ironpython-tilecache\/\">Round 1<\/a>, <a href=\"http:\/\/mapwrecker.wordpress.com\/2007\/06\/19\/python-vs-ironpython-round-2\/\">Round 2<\/a>. However, I&#8217;m not all that inspired now.)<\/p>\n<p>Still, it is kind of cool that IronPython just ran &#8212; I didn&#8217;t expect that to work. Maybe there&#8217;s something to this mono business after all.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My first attempt to do something useful with IronPython: >>> import urllib >>> urllib.urlopen(&#8220;http:\/\/crschmidt.net\/&#8221;) Traceback (most recent call last): File httplib, line unknown, in getreply File httplib, line unknown, in getresponse File httplib, line unknown, in __init__ File System, line unknown, in set_ReceiveBufferSize File System, line unknown, in SetSocketOption WindowsError: Invalid arguments Note that I&#8217;m [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[68,44,12,58,1],"tags":[],"class_list":["post-226","post","type-post","status-publish","format-standard","hentry","category-ironpython","category-locality-and-space","category-python","category-tilecache","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts\/226","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/comments?post=226"}],"version-history":[{"count":0,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts\/226\/revisions"}],"wp:attachment":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/media?parent=226"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/categories?post=226"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/tags?post=226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}