Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 48371
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T16:16:10+00:00 2026-05-10T16:16:10+00:00

Does beautiful soup work with iron python? If so with which version of iron

  • 0

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)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T16:16:11+00:00Added an answer on May 10, 2026 at 4:16 pm

    I was asking myself this same question and after struggling to follow advice here and elsewhere to get IronPython and BeautifulSoup to play nicely with my existing code I decided to go looking for an alternative native .NET solution. BeautifulSoup is a wonderful bit of code and at first it didn’t look like there was anything comparable available for .NET, but then I found the HTML Agility Pack and if anything I think I’ve actually gained some maintainability over BeautifulSoup. It takes clean or crufty HTML and produces a elegant XML DOM from it that can be queried via XPath. With a couple lines of code you can even get back a raw XDocument and then craft your queries in LINQ to XML. Honestly, if web scraping is your goal, this is about the cleanest solution you are likely to find.

    Edit

    Here is a simple (read: not robust at all) example that parses out the US House of Representatives holiday schedule:

    using System; using System.Collections.Generic; using HtmlAgilityPack;  namespace GovParsingTest {     class Program     {         static void Main(string[] args)         {             HtmlWeb hw = new HtmlWeb();             string url = @'http://www.house.gov/house/House_Calendar.shtml';             HtmlDocument doc = hw.Load(url);              HtmlNode docNode = doc.DocumentNode;             HtmlNode div = docNode.SelectSingleNode('//div[@id='primary']');             HtmlNodeCollection tableRows = div.SelectNodes('.//tr');              foreach (HtmlNode row in tableRows)             {                 HtmlNodeCollection cells = row.SelectNodes('.//td');                 HtmlNode dateNode = cells[0];                 HtmlNode eventNode = cells[1];                  while (eventNode.HasChildNodes)                 {                     eventNode = eventNode.FirstChild;                 }                  Console.WriteLine(dateNode.InnerText);                 Console.WriteLine(eventNode.InnerText);                 Console.WriteLine();             }              //Console.WriteLine(div.InnerHtml);             Console.ReadKey();         }     } } 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does BeautifulSoup work with Python 3? If not, how soon will there be a
I am using Beautiful Soup to extract 'content' from web pages. I know some
Does anyone know how to get IntelliSense to work reliably when working in C/C++
I just downloaded Beautiful Soup and I've decided I'll make a small library (is
i am parsing some html form with Beautiful soup. Basically i´ve around 60 input
soup.find(tagName, { id : articlebody }) Why does this NOT return the <div id=articlebody>
I'm new to python and I'm using BeautifulSoup to parse a website and then
I'd like to extract the text from an HTML file using Python. I want
i have code, which does something like this: item.previous.parent.parent.aTag['href'] now i would like to
Does Google force employees who have offers from Facebook to leave immediately?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.