Is there a way to just open/create filehandle = open( "example.bin", "wb")
and extend this file with an existing file?
I think about something like the .extend
from function for lists
Like so:
filehandle = open( "example.bin", "wb")
filehande.extend(existing_file.bin)
I know that i can read the existing file and write that to a variable/list and "paste" it in the new file but im curious if there is an easier option like this...