0

yes i want to ignore numbers. i mean count numbers of line of similar length of word in the open('test.text').read(). pls see for example below:

*world rich list despite.docx
*world rich list despite.docx
e.g. the asteriks line is counted twice

I want to be able to count in each line how many lines of similar words is found. this is what i mean by 'dispersal word of evidence'. I think such that they are partial fragment of evidence word in lines scattered all about in the (test.text) but can still be used as data facts. thanks.

898860top world rich list despite.lnk  
987075top world rich list despite.docx  
2556850d rich list despite.docx 
2640098top world rich list despite.docx  
2658928d rich list despite.docx  
2675459 world rich list despite.docx  
2679307 world rich list despite.docx
-1
yes i want to ignore numbers. i mean count numbers of line of similar length of word in the open('test.text').read(). pls see for example below:

*world rich list despite.docx 
*world rich list despite.docx 
e.g. the asteriks line is counted twice 

I want python to read lines and then count how many lines of similar words is found line by line. this is what i mean by 'dispersal word of evidence'. I think such that they are partial fragment of evidence word in lines but scattered all about in the (test.text) but can still be used as data facts. thanks. 


Python Syntax (Toggle Plain Text)
898860top world rich list despite.lnk  987075top world rich list despite.docx  2556850d rich list despite.docx 2640098top world rich list despite.docx  2658928d rich list despite.docx  2675459 world rich list despite.docx  2679307 world rich list despite.docx898860top world rich list despite.lnk  
987075top world rich list despite.docx  
2556850d rich list despite.docx 
2640098top world rich list despite.docx  
2658928d rich list despite.docx  
2675459 world rich list despite.docx  
2679307 world rich list despite.docx
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.