Aug-10-2020, 07:03 AM
I would like to translate this pythonscript to Tkinter.
I got this python script from youtube and I searched for a similar Tkinterscript on the internet but couldn't find anything.
I also have some Ebooks from Tkinter, but I don't have a similar Tkinter script.
Is there anyone who can translate this script for me into a Tkinter script
I got this python script from youtube and I searched for a similar Tkinterscript on the internet but couldn't find anything.
I also have some Ebooks from Tkinter, but I don't have a similar Tkinter script.
Is there anyone who can translate this script for me into a Tkinter script
fh = open ("c:\Worddatabase\info.txt ", "r") word = input("Enter word to search:") s = " " count = 1 L = fh.readlines() for i in L: L2 = i.split() if word in L2: print ("Line number", count,":",i) count+=1