def get_mapbox_mbtiles(self):
    mapbox_mbtiles = 'http://a.tiles.mapbox.com/v3/%s.mbtiles'
    local_mbtiles = '%s.mbtiles'
    remote_file = mapbox_mbtiles % (self.source)
    local_file = local_mbtiles % (self.source)

    # Check if file exists already
    if os.path.exists(local_file) and os.path.isfile(local_file):
      self.out('- Local file, %s, already exists; using this file.\n' % (local_file))
    else:
      self.out('- Downloading file from Mapbox ...\n')
      urllib.urlretrieve (remote_file, local_file)

    self.source = local_file
Show status of motors.
dataset/ETHPy150Open MinnPost/mbtiles2s3/mbtiles2s3/mbtiles2s3.py/MBTiles2S3.get_mapbox_mbtiles--crossover with--dataset/ETHPy150Open IEEERobotics/bot/bot/driver/omni_driver.py/OmniDriver.__str__