Python Forum
More recent package/library for difflib? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Data Science (https://python-forum.io/forum-44.html)
+--- Thread: More recent package/library for difflib? (/thread-19726.html)



More recent package/library for difflib? - twinpiques - Jul-11-2019

Hello. I was going to install the difflib package, so I went to get more information about it from PyPi.org. However, it no longer exists, apparently. Is there a more updated or recent package similar to difflib that you have used and would recommend?

For background...I am trying to compare two blocks of text (very large narratives) for common text strings/sentences. I am using the "set/intersection" method, but was looking for another approach as well and difflib was recommended.

Thanks.


RE: More recent package/library for difflib? - metulburr - Jul-11-2019

the difflib module is part of the standard python library
https://docs.python.org/3.7/library/difflib.html

https://pymotw.com/3/difflib/


RE: More recent package/library for difflib? - twinpiques - Jul-12-2019

(Jul-11-2019, 10:01 PM)metulburr Wrote: the difflib module is part of the standard python library
https://docs.python.org/3.7/library/difflib.html

https://pymotw.com/3/difflib/


Thank you - I understand now. Much appreciated!