Re: file resume

2007-04-16 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, luca72 wrote: > if i have one file written in binary mode, how can i append others > binary data to this file after the its closure. > ex > my_file = open('blabal', 'wb') > then i write something and then > my_file.close() > now if i need to open it again and append other b

RE: file resume

2007-04-16 Thread Robert Rawlins - Think Blue
Do the same again, but change that 'wb' to 'a' for append :-D should sort you out. Rob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of luca72 Sent: 16 April 2007 16:57 To: python-list@python.org Subject: file resume Hello at all

file resume

2007-04-16 Thread luca72
Hello at all: if i have one file written in binary mode, how can i append others binary data to this file after the its closure. ex my_file = open('blabal', 'wb') then i write something and then my_file.close() now if i need to open it again and append other binary data how can i proceed? Regards