python function open text file as string code example Example: python create file f= open("guru99.txt","w+")