using with block to open python file

with open("harish") as f:

a=(f.readlines(13))

print(a)

'''f=open("harish")

content=f.read()

print(content)'''

Comments

Popular posts from this blog

strings 2

property decorator

Raise keyword in python