We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1387b86 commit c81bc8dCopy full SHA for c81bc8d
1 file changed
python-tutorials/compare_text.py
@@ -0,0 +1,7 @@
1
+import filecmp
2
+
3
+filecmp.cmp('arquivo1.txt', 'arquivo2.txt')
4
+# Resultado >> True
5
6
+filecmp.cmp('arquivo1.txt', 'arquivo3.txt')
7
+# Resultado >> False
0 commit comments