sdp parsing in python