The Artima Developer Community
Sponsored Link

Python Buzz Forum
OnDemandAmazonList

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Michael Josephson

Posts: 20
Nickname: mikej
Registered: Nov, 2004

Michael Josephson is a software engineer based in Manchester, UK
OnDemandAmazonList Posted: Mar 7, 2005 10:01 AM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Michael Josephson.
Original Post: OnDemandAmazonList
Feed Title: SDJournal
Feed URL: http://www.sdjournal.com/archives/categories/languages/python/rss.xml
Feed Description: Posts from the Python category on SDJournal
Latest Python Buzz Posts
Latest Python Buzz Posts by Michael Josephson
Latest Posts From SDJournal

Advertisement
Leonard Richardson recently emailed me a copy of OnDemandAmazonList, which can be used in conjection with PyAmazon to iterate over the results of an Amazon search as though it were a normal list.

Normally it's necessary to fetch the results from Amazon in batches by specifying a different value for the page parameter. Leonard's class abstracts this away by returning you results one at a time via the iterator's next() method which silently fetches the next lot of results from Amazon on demand as required.

This class can be downloaded from the Contributed Code section of the PyAmazon page.

Read: OnDemandAmazonList

Topic: packaging python files Previous Topic   Next Topic Topic: two great python resources

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use