code: def tweet(self, status, images):
          # time.sleep(10)
          template = "%s #soyprice"
          
          print template % status, len(template % status)
docs: if not images:
              self.twitter.update_status(status=template % status)
          else:
              medias = map(lambda i: self.upload_media(i), images)
              self.twitter.post('/statuses/update_with_media',
                                params={'status': template % status,
                                'media': medias[0]})