Overwrite just one line? Am I a n00b or is this impossible? Both? :D

Erik Max Francis max at alcyone.com
Wed Apr 6 23:27:54 EDT 2005


Matt at revera wrote:

> Ok the key was "r+b" as opposed to "a+b" but why is that?  R is for
> read, correct?  And b for binary.  Adding the plus gives me some form
> of write capability?

Read binary is "rb," but read-write binary is "r+b."  The "+" means that 
you can write, too.

-- 
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
   It's a man's world, and you men can have it.
   -- Katherine Anne Porter



More information about the Python-list mailing list