Hello, I've been studying the official tutorial, so far it's been fun, but today I ran into a problem with the write(). So, I open the file pw and write "hello" and read:
f = open("pw", "r+") f.write("hello") f.read() But read() returns a bunch of what looks like meta code: "ont': 1, 'center_insert_even\xc4\x00K\x02\xe8\xe1[\x02z\x8e \xa5\x02\x0b \x00\x00\x00\x00\x00\x00\x00\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'QUEUE'\np1\n (S'exec' .... What am I doing wrong? Thank you. -- http://mail.python.org/mailman/listinfo/python-list