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
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
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.