i = open(ifn, errors='replace') # this will replace the character with '?' for exampleMore here: https://docs.python.org/3/library/functions.html#open
You may like 'backslashreplace'. I presume
exception during iteration loop
|
i = open(ifn, errors='replace') # this will replace the character with '?' for exampleMore here: https://docs.python.org/3/library/functions.html#open You may like 'backslashreplace'. I presume |
|
Messages In This Thread |
exception during iteration loop - by Skaperen - Oct-23-2018, 06:54 AM
RE: exception during iteration loop - by wavic - Oct-23-2018, 07:37 AM
RE: exception during iteration loop - by Skaperen - Oct-23-2018, 08:26 PM
RE: exception during iteration loop - by Larz60+ - Oct-23-2018, 08:10 AM
RE: exception during iteration loop - by Larz60+ - Oct-23-2018, 08:37 PM
RE: exception during iteration loop - by nilamo - Oct-23-2018, 08:54 PM
RE: exception during iteration loop - by Skaperen - Oct-24-2018, 12:35 AM
|