import webbrowser
import config
from Generator import Generator


def main():
    generator = Generator()
    latitude, longitude = generator.getCoordinates()

    webbrowser.open(config.api_request.format(latitude, longitude))


if __name__ == '__main__':
    main()

[((94, 105), 'Generator.Generator', 'Generator', ([], {}), '()\n', (103, 105), False, 'from Generator import Generator\n'), ((180, 226), 'config.api_request.format', 'config.api_request.format', (['latitude', 'longitude'], {}), '(latitude, longitude)\n', (205, 226), False, 'import config\n')]