About Archive Tag Cloud Translations RSS

You are writing a comment about Search Recipes for Yahoo's BOSS in Python, here is a quick summary:

This entry is a bit of a cookbook for using Yahoo's Python library for accessing the BOSS Mashup Framework. It has full examples for searching the web, images, news , for paginating results, and for limiting searches to specific domains.


You are responding to this comment written by Jonathan Belgourari on July 15th 2008, 15:56.

Hi,

thanks a lot for this post.

I followed Boss doc instructions on debian etch, everything went well but when running the sample script i get this :

Traceback (most recent call last):
  File "examples/ex3.py", line 16, in ?
    from yos.yql import db
  File "/usr/lib/python2.4/site-packages/yos/yql/db.py", line 44, in ?
    from yos.crawl import rest
  File "/usr/lib/python2.4/site-packages/yos/crawl/rest.py", line 13, in ?
    import xml2dict
  File "/usr/lib/python2.4/site-packages/yos/crawl/xml2dict.py", line 6, in ?
    import xml.etree.ElementTree as ET
ImportError: No module named etree.ElementTree

Any idea ?

Thx

Jonathan


Please be aware that comment forms go stale after one hour.





Comments may make use of LifeFlow MarkDown. Raw html will be escaped.


Quick Introduction to LifeFlow MarkDown Syntax

A highlighted code block:

@@ ruby
def a (b, c):
  b * c
end
@@

Other common languages work as well: scheme, python, java, html, etc.

Other markdown syntax:

 ### This is an h3 title
#### This is an h4 title
**this is bold**
*this is italics*

1. This is an
2. ordered list

* And an unordered
* list too

[this is a link](http://www.lethain.com/ "Lethain")