I wrote a script that keeps customer's device information shown below. Is it possible to convert this code to a GUI with Python Tkinter. How can I do it?
print("FAILURE LOGGING PROGRAM")
filename = input ("Please enter the file name: ")+(".txt");
with open (filename, "w") as f:
f.write ("Date: " + input ("Date: "));
f.write ("\n\Record No: " + input ("Record No: "));
f.write ("\n\nCustomer Name: " + input ("Customer Name: "));
f.write ("\n\nCustomer Phone Number: " + input ("Customer Phone Number: "));
f.write ("\n\nCustomer Adress: " + input ("Customer Adress: "));
f.write ("\n\nDevice Type: " + input ("Device Type: "));
f.write ("\n\nTrademark : " + input ("Trademark: "));
f.write ("\n\nImei Number: " + input ("Imei Number: "));
f.write ("\n\nFailure Explanation: " + input ("Failure Explanation: "));
f.write ("\n\nRepair Price: " + input ("Repair Price: "));
f.write ("\n\nExpected Repair Time: " + input ("Expected Repair Time: "));
f.write ("\n\nAnnotation: " + input ("Annotation: "));