Re: How to compare words from .txt file against words in .xlsx file via Python? I will then extract these words by writing it to a new .xls file

2019-08-04 Thread aishan0403
On Monday, 5 August 2019 07:21:52 UTC+8, MRAB wrote: > On 2019-08-05 00:10, A S wrote: > > Oh... By set did you mean by using python function set(variable) as > > something? > > > > So sorry for bothering you.. > > > Make it a set (outside the loop): > >     dictionary = set() > > and then add

Re: How to compare words from .txt file against words in .xlsx file via Python? I will then extract these words by writing it to a new .xls file

2019-08-04 Thread aishan0403
On Monday, 5 August 2019 07:21:52 UTC+8, MRAB wrote: > On 2019-08-05 00:10, A S wrote: > > Oh... By set did you mean by using python function set(variable) as > > something? > > > > So sorry for bothering you.. > > > Make it a set (outside the loop): > >     dictionary = set() > > and then add

How to compare words from .txt file against words in .xlsx file via Python? I will then extract these words by writing it to a new .xls file

2019-08-04 Thread aishan0403
I want to compare the common words from multiple .txt files based on the words in multiple .xlsx files. Could anyone kindly help with my code? I have been stuck for weeks and really need help.. Please refer to this link: https://stackoverflow.com/questions/57319707/how-to-compare-words-from-t