PYTHON : DATA FILE HANLING

returns it in the form of list To write data (of string type) on to the file and return the numeric value (no. of characters written) To Write Sequence (list/tuple etc) of strings in a file F F F F F F F F F obj=open("File_name",mode obj.close() obj.read() or obj.read(n) obj.readline() or obj.readline(n) obj.readlines() obj.write(str) obj.writelines(LST) www.pythonclassroomdiary.wordpress.co m ... ................
................