SHARE
TWEET

Untitled

a guest Nov 8th, 2019 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import xml.etree.ElementTree as ET
  2. test_string = ""
  3.  
  4. root = ET.fromstring(test_string)
  5. rgb = []
  6. for Value in root.findall('BandReport'):
  7.     rgb.append(Value.find('Value').text)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top