Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I'm using ElementTree to read a single XML feed from the web using several scripts

Thus far I've stored the XML data as a string and read it back off using s3/boto and then processed the string using ET in each scripts..

conn = S3Connection('xxxx','+U7ij/xxxxx')
key = conn.get_bucket('XML_feed').get_key(XML_string)
XML_str= key.get_contents_as_string()

XML = ET.fromstring(XML_str)
tree = ET.ElementTree(XML)

Instead of each script retrieving the XML feed as a string and processing it using ElementTree I wanted to store the processed ET object on S3 then read it off using the boto library. Would anyone know if this is possible...?

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.