Hi All,
new to this, and i havnt done much python programming,
i have written a program to write data to a text file.
each time i use the program, it appends the data to the file and leaves two lines between the sets of data
however, i want to write a tkinter GUI so it can read the sets of info and display it on the screen
possibly using a drop down box from the client name or client number to display the full information
but it must recognise new clients as they are added to the file
i dont know where to start
below is the text file that it creates, it is called patient_data.txt
Patient account number: 28394
Visit Date: 27/08/04
Length of visit (mins): 68
Patient Name: Greg Smith
patient age: 17
Patient sex: Male
Reason for visit: Broken leg
Cost of medication (0 if none is required): 48
Total Bill ($)238Patient account number: 847392
Visit Date: 17/06/06
Length of visit (mins): 34
Patient Name: Stephanie Jones
patient age: 11
Patient sex: Female
Reason for visit: Stomach Ache
Cost of medication (0 if none is required): 10
Total Bill ($)100Patient account number: 73649
Visit Date: 27/12/07
Length of visit (mins): 16
Patient Name: Jess
patient age: 47
Patient sex: Female
Reason for visit: Chest infection
Cost of medication (0 if none is required): 14
Total Bill ($)54Patient account number: 1
Visit Date: 2
Length of visit (mins): 3
Patient Name: 4
patient age: 5
Patient sex: 6
Reason for visit: 7
Cost of medication (0 if none is required): 8
Total Bill ($)-2
cheers