python file open with clause

When trying to open some data files with rather strange UTF-8 Encodings - you will get a failure to read a file with an error like Error decoding byte at position %3421 or something.

By opening the file in a specific manner this issue can be minimised

f=open('t.txt','r',encoding='utf-8',errors='ignore')

That's it - simple and quick.