Skip to content

How to ignore line separator character like <0x2028> when using smart_open and unzipping the file #761

Answered by mpenkov
Kajalagg98 asked this question in Q&A
Discussion options

You must be logged in to vote

Read the file as binary and perform the line splitting yourself (on the newline byte).

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Kajalagg98
Comment options

@mpenkov
Comment options

@Kajalagg98
Comment options

Answer selected by Kajalagg98
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants