From 04af0d99abf16de122585a23f4770305efb3311d Mon Sep 17 00:00:00 2001 From: "Richard Horton (hortonr6)" Date: Mon, 20 Nov 2017 20:51:02 +0000 Subject: [PATCH] Added comments --- Client.py | 3 ++- GUI.py | 2 ++ GUI2.py | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Client.py b/Client.py index 76debde..9aa71ff 100644 --- a/Client.py +++ b/Client.py @@ -80,7 +80,7 @@ def sendMessage(event=None): #Richard i = 0 #Counter used later to prevent the global variable username being reset - +#GUI Start window = tk.Tk() #Creates the main window for the interface window.title("Chatbot Jeff") window.geometry("600x600") @@ -102,6 +102,7 @@ userInput.bind("", sendMessage) sendBtn = tk.Button(window, text="Send Message", command=sendMessage) sendBtn.pack(side="right", pady=15) +#GUI End receiveMessage(i) #Receives the initial message from the chatbot i = i + 1 #Used to prevent global variable username being reset after initial declaration diff --git a/GUI.py b/GUI.py index a34bcea..2e2f69a 100644 --- a/GUI.py +++ b/GUI.py @@ -1,3 +1,5 @@ +#Obselete code - GUI is now integrated into Client.py + import tkinter as tk import Get_Functions as gf diff --git a/GUI2.py b/GUI2.py index bf187d9..dc8313f 100644 --- a/GUI2.py +++ b/GUI2.py @@ -1,3 +1,5 @@ +#Obselete code - GUI is now integrated into Client.py + import tkinter as tk import determineUserInput as detUsrIn