Alex Rivera | Logout

Iron python, beautiful soup, win32 app

Asked 2008-09-23T01:37:48.830
22

Does beautiful soup work with iron python? If so with which version of iron python? How easy is it to distribute a windows desktop app on .net 2.0 using iron python (mostly c# calling some python code for parsing html)?

Edit
Report

1 Answer

5

If BeautifulSoup doesn't work on IronPython, it's because IronPython doesn't implement the whole Python language (the same way CPython does). BeautifulSoup is pure-python, no C-extensions, so the only problem is the compatibility of IronPython with CPython in terms of Python source code.There shouldn't be one, but if there is, the error will be obvious ("no module named ...", "no method named ...", etc.). Google says that only one of BS's tests fails with IronPython. it probably works, and that test may be fixed by now. I wouldn't know.

Try it out and see, would be my advice, unless anybody has anything more concrete.

answered 2008-09-23T01:43:40.530

Your Answer