[Solved ] read text file

is there a simple direct way to read a file in local folder

or have to use the OS module ?

found this way

linedata=[]
kk=0

fo = open(sourceName, “r”)

for line in fo.readlines():

this seems to open file in local folder

thanks