Python base package filecmp is not working properly for 'UTF-8 BOM' css files.
I am using python version 3.5 and windows 10 OS.
while running the below code getting as False always.However the file content are same.
Code :
destinationfile
Please let me know if any details required.
I am using python version 3.5 and windows 10 OS.
while running the below code getting as False always.However the file content are same.
Code :
import filecmp filecmp.clear_cache() boolfile=filecmp.cmp(r'C:\Users\suresh.n\python\RPA\Page\Sowmiya\downloads\destination.txt',r'C:\Users\suresh.n\python\RPA\Page\Sowmiya\source\source[url=C:\Users\suresh.n\python\RPA\Page\Sowmiya\downloads]C:\Users\suresh.n\python\RPA\Page\Sowmiya\downloads.txt',shallow=False) print(boolfile)output
Output: False.
sourcefiledestinationfile
Please let me know if any details required.
buran write Feb-09-2021, 06:26 AM:
Please, use proper tags when post code, traceback, output, etc. This time I have added tags for you.
See BBcode help for more info.
Also, there is no way links to files on your local C:\ drive to work on forum.
Please, use proper tags when post code, traceback, output, etc. This time I have added tags for you.
See BBcode help for more info.
Also, there is no way links to files on your local C:\ drive to work on forum.