First - it's recommended to open files with 'with' statement a la
Second - if you try to enter code in interactive interpreter then you should make sure indentation is correct a la:
with open('mbox-short.txt', 'r') as f:
Second - if you try to enter code in interactive interpreter then you should make sure indentation is correct a la:
>>> for i in range(3): ... print(i) ... 0 1 2 >>>Third - it is not recommended to use Python 2 (for example print is quite different between Python 2 and 3)
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.