def retrieve_all_events_in_month(Month):
    conn = None
    try:
        calendar_events = {}
        conn = sqlite3.connect(calendar_db)
        c = conn.cursor()
        c.execute('SELECT * FROM calendar WHERE month = :month', (Month,))
        calendar_events_list = list(c.fetchall())
        conn.close()
        if calendar_events_list:
            for calendar_db_entry in calendar_events_list:
                calendar_events[calendar_db_entry[3]] = calendar_db_entry
        return calendar_events
    except sqlite3.OperationalError as e:
        print(e)
def retrieve_all_events_in_month(Month):
    conn = None
    try:
        calendar_events = {}
        conn = sqlite3.connect(calendar_db)
        c = conn.cursor()
        c.execute('SELECT * FROM calendar WHERE month = :month', (Month,))
        calendar_events_list = list(c.fetchall())
        conn.close()
        if calendar_events_list:
            for calendar_db_entry in calendar_events_list:
                calendar_events[calendar_db_entry[3]] = calendar_db_entry
        return calendar_events
    except sqlite3.OperationalError as e:
        print(e)