Oct-22-2017, 10:51 PM
Appreciate if someone can explain me why: 
file content: Ek6uEmoKUAAAAAAACCTVU6bnsIAABn
from variable:
from variable: Ek6uEmoKUAAAAAAACCTVU6bnsIAABn

with open('readme', 'r') as file_h: print 'file content:', file_h.readline().strip() content = file_h.readline().strip() print 'from variable:', contentpython test.py
file content: Ek6uEmoKUAAAAAAACCTVU6bnsIAABn
from variable:
with open('readme', 'r') as file_h: # print 'file content:', file_h.readline().strip() content = file_h.readline().strip() print 'from variable:', contentpython test.py
from variable: Ek6uEmoKUAAAAAAACCTVU6bnsIAABn