<filename>othodi_app.py
# -*- coding: utf-8 -*-
import shutil
import locm, routem, mapm, dropboxm, gmaps, tools

if __name__ == "__main__":

    # dr_fname = '/othodi/cities_few.txt'
    # dc = dropboxm.DropboxConnection()
    # with dc.open_dropbox_file(dr_fname) as dropbox_file:
    #     address_list = [line.strip() for line in dropbox_file]
    locs_list = [locm.Location(addr) for addr in address_list]
    moscow = locm.Location('Moscow')
    routes_list = [routem.Route(moscow.coords,dest.coords) for dest in locs_list]
    for route,loc in zip(routes_list,locs_list):
        print(loc.address)
        print(route.to_str())
<filename>othodi_app.py
# -*- coding: utf-8 -*-
import shutil
import locm, routem, mapm, dropboxm, gmaps, tools

if __name__ == "__main__":

    # dr_fname = '/othodi/cities_few.txt'
    # dc = dropboxm.DropboxConnection()
    # with dc.open_dropbox_file(dr_fname) as dropbox_file:
    #     address_list = [line.strip() for line in dropbox_file]
    locs_list = [locm.Location(addr) for addr in address_list]
    moscow = locm.Location('Moscow')
    routes_list = [routem.Route(moscow.coords,dest.coords) for dest in locs_list]
    for route,loc in zip(routes_list,locs_list):
        print(loc.address)
        print(route.to_str())
# -*- coding: utf-8 -*- # dr_fname = '/othodi/cities_few.txt' # dc = dropboxm.DropboxConnection() # with dc.open_dropbox_file(dr_fname) as dropbox_file: #     address_list = [line.strip() for line in dropbox_file]