'Post a twitter status message from the authenticated user with
multiple pictures attached.
Args:
status:
the text of your update
media:
location of multiple media elements(PNG, JPG, GIF)
possibly_sensitive:
set true is content is "advanced"
in_reply_to_status_id:
ID of a status that this is in reply to
lat:
location in latitude
long:
location in longitude
place_id:
A place in the world identified by a Twitter place ID
display_coordinates:
Returns:
A twitter.Status instance representing the message posted.'

def PostMultipleMedia(self, status, media, possibly_sensitive=None, in_reply_to_status_id=None, latitude=None, longitude=None, place_id=None, display_coordinates=False):

    warnings.warn('This    method    is    deprecated.    Please    use    PostUpdate    instead,    passing    a    list    of    media    that    you    would    like    to    associate    with    the    updated.', DeprecationWarning, stacklevel=2)
    if (type(media) is not list):
        raise TwitterError('Must    by    multiple    media    elements')
    if (media.__len__() > 4):
        raise TwitterError('Maximum    of    4    media    elements    can    be    allocated    to    a    tweet')
    url = ('%s/media/upload.json' % self.upload_url)
    if (isinstance(status, str) or (self._input_encoding is None)):
        u_status = status
    else:
        u_status = str(status, self._input_encoding)
    media_ids = ''
    for m in range(0, len(media)):
        data = {}
        if (not hasattr(media[m], 'read')):
            if media[m].startswith('http'):
                data['media'] = urlopen(media[m]).read()
            else:
                data['media'] = open(str(media[m]), 'rb').read()
        else:
            data['media'] = media[m].read()
        resp = self._RequestUrl(url, 'POST', data=data)
        data = self._ParseAndCheckTwitter(resp.content.decode('utf-8'))
        media_ids += str(data['media_id_string'])
        if (m is not (len(media) - 1)):
            media_ids += ','
    data = {'status': u_status, 'media_ids': media_ids}
    url = ('%s/statuses/update.json' % self.base_url)
    resp = self._RequestUrl(url, 'POST', data=data)
    data = self._ParseAndCheckTwitter(resp.content.decode('utf-8'))
    return Status.NewFromJsonDict(data)
