BeautifulSoup работает с Python 3?
Если нет, то как скоро появится порт? Будет ли вообще порт?
Google ничего мне не сообщает (может быть, я не то ищу?)






Я предполагаю, что ответ - «Нет». Согласно Python.org:
Python 3000 (a.k.a. "Py3k", and released as Python 3.0) is a new version of the language that is incompatible with the 2.x line of releases. The language is mostly the same, but many details, especially how built-in objects like dictionaries and strings work, have changed considerably, and a lot of deprecated features have finally been removed. Also, the standard library has been reorganized in a few prominent places.
Лучшим местом для этого конкретного вопроса может быть BeautifulSoup форум.
Доступен релиз-кандидат для Python 3.0, так что вы всегда можете проверить совместимость BeautifulSoup самостоятельно :)
Примерно через два месяца после того, как я задал этот вопрос, был выпущен порт:
http://groups.google.com/group/beautifulsoup/browse_thread/thread/f24882cc17a0625e
Бьюсь об заклад, BS работает, но это все. Хотя еще не пробовал.
http://www.crummy.com/software/BeautifulSoup/ говорит:
Download Beautiful Soup
If you're using Python 2.3 through 2.6, the 3.0 series is the best choice. The most recent release in the 3.0 series is 3.0.8, released November 30, 2009.
If you're using Python 3.0, you must use the 3.1 series. Beautiful Soup version 3.1.0.1 was released January 6, 2009. You can use the 3.1 series with earlier versions of Python, but you might run into the problems described here.
да, красивый суп работает в питоне 3,
Linux
apt-get install python3-bs4
Окна
pip install beautifulsoup4
Для получения дополнительной информации см. https://www.crummy.com/software/BeautifulSoup/bs4/doc/#installing-beautiful-soup.
Когда я попытался его использовать, у меня возникла ошибка, в которой говорилось, что я использую версию python 2 .x на python 3.x.