file resume

Robert Rawlins - Think Blue robert.rawlins at thinkbluemedia.co.uk
Mon Apr 16 12:02:23 EDT 2007


Do the same again, but change that 'wb' to 'a' for append :-D should sort
you out.

Rob

-----Original Message-----
From: python-list-bounces+robert.rawlins=thinkbluemedia.co.uk at python.org
[mailto:python-list-bounces+robert.rawlins=thinkbluemedia.co.uk at python.org]
On Behalf Of luca72
Sent: 16 April 2007 16:57
To: python-list at python.org
Subject: file resume

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

Luca

-- 
http://mail.python.org/mailman/listinfo/python-list




More information about the Python-list mailing list