I\'m very new to programming (obviously) and really advanced computer stuff in general. I\'ve only have basic computer knowledge, so I decided I wanted to learn more. Thus I
This will give you the contents of a file separated, line-by-line in a list:
with open('xyz.txt') as f_obj: f_obj.readlines()