-
Notifications
You must be signed in to change notification settings - Fork 0
/
payment.py
73 lines (46 loc) · 1.75 KB
/
payment.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
import tkinter as tk
from tkinter import *
from login import *
import webbrowser
class Payment:
def __init__(self,window):
self.window = window
self.window.title("Payment")
#balance = tk.Label(self.window, text='\nYour current balance is \n' + str(p1.balance) + '$')
#balance.pack()
space = tk.Label(self.window, text="\n")
space.pack()
def texas():
webbrowser.open('https://www.texascapitalbank.com/')
bank1 = tk.Button(self.window, text='Texas Capital Bank', command=texas)
bank1.pack()
space = tk.Label(self.window, text="\n")
space.pack()
def boa():
webbrowser.open('https://www.bankofamerica.com/')
bank2 = tk.Button(self.window, text='Bank Of America', command=boa)
bank2.pack()
space = tk.Label(self.window, text="\n")
space.pack()
def capital():
webbrowser.open('https://www.capitalone.com/')
bank3 = tk.Button(self.window, text='Capital One', command=capital)
bank3.pack()
space = tk.Label(self.window, text="\n")
space.pack()
def hsbc():
webbrowser.open('https://www.us.hsbc.com/')
bank4 = tk.Button(self.window, text='HSBC USA', command=hsbc)
bank4.pack()
space = tk.Label(self.window, text="\n")
space.pack()
def barclays():
webbrowser.open('https://www.banking.barclaysus.com/index.html')
bank5 = tk.Button(self.window, text='Barclays Bank', command=barclays)
bank5.pack()
space = tk.Label(self.window, text="\n")
space.pack()
#window = tk.Tk()
#window.geometry("853x480")
#Payment(window)
#window.mainloop()