In Python, the following statements do not work:
f = open(\"ftmp\", \"rw\") print >> f, \"python\"
I get the error:
Trace
In fact, this is okay, but I found an "rw" mode on the socket in following code (for Python on S60) at lines 42 and 45:
http://www.mobilenin.com/mobilepythonbook/examples/057-btchat.html