I have this code that searches for a set of numbers in my textfile. When it finds those numbers I want it to print what's on column 5 to 12 in the same line. Is this possible to do? I've been looking for an answer for ages now, and I can't seem to find anything.
The person that can help me with this would certainly make my day a lot brighter.
Thank you in advance!
I'm guessing the file is a csv (comma delimited file) or some other delimited
1 Read in each line of the file to a string
2 Use split on this string to generate an array of substrings (or columns)
3 Print out the necessary Columns from that array - remember VB array index starts at zero..
root = tkinter.Tk()
buttons=[i for i in range(10)]
#If specific button is pressed, output "YES"
for num in buttons: