file resume
Marc 'BlackJack' Rintsch
bj_666 at gmx.net
Mon Apr 16 12:01:40 EDT 2007
In <1176739022.736716.245950 at y80g2000hsf.googlegroups.com>, 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 binary data how can i
> proceed?
Just open it in append mode: ``open('blablal', 'ab')``
Ciao,
Marc 'BlackJack' Rintsch
More information about the Python-list
mailing list