This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
from urllib.request import urlopen | |
from collections import namedtuple | |
class Estación(namedtuple('Estación', 'nombre estación id')): | |
ARTIGAS = 16 | |
RIVERA = 235 | |
MELO = 160 | |
SALTO = 239 | |
YOUNG = 293 |