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

Ask A Question

Stats

  • Questions 116k
  • Answers 116k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer How do I determine a mobile browser Here's some javascript… May 11, 2026 at 10:35 pm
  • Editorial Team
    Editorial Team added an answer Use the Date property of the DateTime type. var dates… May 11, 2026 at 10:35 pm
  • Editorial Team
    Editorial Team added an answer You need to push the polygon mode of GL_FILL onto… May 11, 2026 at 10:35 pm

Related Questions

Does BeautifulSoup work with Python 3? If not, how soon will there be a
I'd like to extract the text from an HTML file using Python. I want
With BeautifulSoup 3.1.0.1 and Python 2.5.2, and trying to parse a web page in
I am trying to parse an html page with BeautifulSoup, but it appears that

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.