Python File readline() and writeline() Method
Program 1 # Program for vowel count import os try: if(os.path.isfile(“d://filedata/student.txt”)): f=open(“d://filedata/student.txt”,”r”) count=0 while True: ch=f.read(1) if not ch: break print(ch,end=””) ch=ch.upper() if(ch==’A’ or ch==’E’ or ch==’I’or ch==’O’ or ch==’U’): count=count+1 print(“\nTotal Vowel: “,count)...

