Re:Help us collect modern Python NumPy code solutions
by hermitdev on Monday March 28, 2022 @12:54PM
(#30832609)
For bonus points: how about properly handling UTF-8 byte order marks (BOM), too? The way this code is written if the files contain a BOM, you're going to pass the BOM right into the destination file. Fine for the first file, not so fine for any other file. Dropping a BOM mark in the middle of a file isn't going to result in valid UTF-8...
[ Parent
| on HN ]
There are no comments on this comment yet.