open file for reading and writing python code example Example: python create file f= open("guru99.txt","w+")