Wednesday, February 4, 2009

A couple of things about project three

I know that one of the domains to access simpledb is "pictures" (case matters).

Here's some code that

sdb = boto.connect_sdb(ACCESS KEY, SECRET ACCESS KEY) # these keys may or may not be necessary... i saw some examples iwth them and some without them.
imageDomain = sdb.get_domain('picture')

with this, you can loop over all the keys in the domain and get information out.

No comments:

Post a Comment