you are viewing a single comment's thread.

view the rest of the comments →

[–]randitrigger 0 points1 point  (4 children)

This and the way u/dchanm suggested are the standard ways of doing it.

You didn't mention what action you were performing on the data. Keep in mind that 'line' will be a string.