-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3ee2e0b
commit d8872d0
Showing
2 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,13 +8,19 @@ | |
import tkinter as tk | ||
from tkinter import ttk | ||
from tkinter import messagebox as msg | ||
from tkcalendar import DateEntry | ||
import keyring | ||
from tkcalendar import DateEntry #pip install tkcalender | ||
from PIL import ImageTk,Image | ||
from plyer import notification | ||
import pickle | ||
import sqlite3 | ||
import yagmail | ||
import cryptocode | ||
import random | ||
mailer = yagmail.SMTP('[email protected]') #connecting to SMTP server | ||
key="key123420202021" | ||
f = open("database\\data.dat","rb") | ||
data = pickle.load(f) | ||
mailer = yagmail.SMTP(cryptocode.decrypt(data["id"],key),cryptocode.decrypt(data["passwd"],key)) #connecting to SMTP server | ||
con = sqlite3.connect("database\\traveller_io.db") #connecting to MySQL server | ||
c = con.cursor() | ||
def generate_PNR(): | ||
|