[plug] python head+wall issue
Craig Ringer
craig at postnewspapers.com.au
Mon Dec 29 20:54:55 WST 2003
> >> f = file("/tmp/test","rw")
^^
*cringe*
thanks Cameron, James, Bernard for the FM snippets. I don't know how I
missed that, given that
>> help(file)
also tells you. *sigh*. I was looking at help(truncate) and thinking
"arrggh, why does it not _work_".
I wonder why it treated "rw" as "r" rather than throwing an error;
perhaps 'w' is also used as another flag. Not important now; thanks.
Craig Ringer
More information about the plug
mailing list