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
{ | |
"release_date": "2020-04-02T22:54:25.081Z", | |
"regiones": [ | |
{ | |
"nombre": "Arica y Parinacota", | |
"nombre_largo": "Región de Arica y Parinacota", | |
"capital_regional": "Arica", | |
"iso_3166_2": "CL-AP", | |
"codigo": "15", | |
"provincias": [ |
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 sys | |
# from PyQt5 import uic | |
from PyQt5.QtGui import QIcon | |
from PyQt5.QtWidgets import (QApplication, QMainWindow, QMenu, QPushButton, QSystemTrayIcon) | |
class App(QMainWindow): | |
def __init__(self, parent=None): | |
super(App, self).__init__(parent) | |
# Load UI from file |