pyAmazon

Discussion in 'Python' started by steve, Apr 8, 2008.

  1. steve

    steve Guest

    Anyone familiar with pyAmazon ( the latest for AWS 4.0 ), who knows
    why the ItemSearch echo's the XML that is retrieved ?

    My statement is
    products = ecs.ItemSearch("Duma Key", SearchIndex='Books')

    And the "products" list is populated okay, however before my script
    ends ( executing script on DOS command line ), I get all of the XML
    data scrolling on the screen.
    Thanks
    steve, Apr 8, 2008
    #1
    1. Advertising

  2. steve

    steve Guest

    I noticed it's happening at the line that does the parsing:

    dom = minidom.parse(usock),
    in pyaws/ecs.py

    I'll look into how to turn off the outputting.




    On Apr 7, 4:20 pm, steve <> wrote:
    > Anyone familiar with pyAmazon ( the latest for AWS 4.0 ), who knows
    > why the ItemSearch echo's the XML that is retrieved ?
    >
    > My statement is
    > products = ecs.ItemSearch("Duma Key", SearchIndex='Books')
    >
    > And the "products" list is populated okay, however before my script
    > ends ( executing script on DOS command line ), I get all of the XML
    > data scrolling on the screen.
    > Thanks
    steve, Apr 8, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. wjppmp
    Replies:
    0
    Views:
    322
    wjppmp
    Oct 1, 2004
  2. popjack

    PyAmazon and Book Descriptions

    popjack, Jan 24, 2006, in forum: Python
    Replies:
    0
    Views:
    271
    popjack
    Jan 24, 2006
  3. Snaky Love
    Replies:
    1
    Views:
    778
    Snaky Love
    Feb 19, 2010
Loading...

Share This Page