on-internet
← Community

How do I get the Value of Tkcalendar/Date Entry

Stack Overflow ·

I am building a GUI where it should be possible to insert your name and your brthday that get´s stored in a sqllite3 database. I use the Tkcalendar module to let the person choose it´s birthday. My problem is I don´t know how to read out the Date. import sqlite3 verbindung = sqlite3.connect("Datenbanken/geb3.db") zeiger = verbindung.cursor() zeiger.execute("""CREATE TABLE IF NOT EXISTS people3(vorname VARCHAR(20), nachname VARCHAR(30), geburtstag DATE );""") from tkinter import * from tkcalendar import Calendar, DateEntry root = Tk() def speichern(): zeiger.execute("""INSERT INTO people3 VALUE

Comments

Sign in or sign up to comment and upvote.

No comments yet.