Read lines without New Line character

PHOTO EMBED

Thu May 06 2021 10:23:14 GMT+0000 (Coordinated Universal Time)

Saved by @FlorianC #python

with open(filename) as f:
    mylist = f.read().splitlines() 
content_copyCOPY