Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing 👯

Carlos Mairena carlosmmairena

🎯
Focusing 👯
View GitHub Profile
View Tkinter_example.py
import tkinter
from tkinter import CENTER, ttk
lista_matriculas = []
ventana = tkinter.Tk()
ventana.geometry('500x500')
# etiqueta de mensaje
mensaje_lbl = tkinter.Label(ventana)
mensaje_lbl.grid(row=0, column=1)
@carlosmmairena
carlosmmairena / RepositorioPostgres.py
Created Mar 30, 2021
Clase connection Python a PostgreSQL
View RepositorioPostgres.py
import psycopg2
from configparser import ConfigParser
class Postgres():
""" Connect to the PostgreSQL database server """
connection = None
def __init__(self):