file=open("rustext.txt", "w") file.write("??????") file.close When I open the file with a text editor I get garbled text. I use russian win98 so I don't see why this shouldn't work.