Read only the first line of a file in Python

Read only the first line of a file in Python

More to explore

Based on this image's title: “Read only the first line of a file in Python