python open ignore errors. code example Example: ignore error open file python open(fileName, 'r', encoding='utf8', errors='ignore')