Re: Abrir un fichero binario y modificar parte del fichero

Jose Caballero <[email protected]>
Newsgroups gmane.comp.python.general.castellano
Message-ID <[email protected]>
Hola,

aunque parece que ya has resuelto tu duda, siempre puedes echarle un ojo a
la documentaci\'on oficial:
http://docs.python.org/library/functions.html#open

Nota que para 'w' dice lo siguiente:

'w' for writing (truncating the file if it already exists)



Jose





>
> Cuando abro el fichero con f.open(path,"w") el fichero queda con tamaño 0
> kb.
>
_______________________________________________
Lista de correo Python-es 
http://listas.aditel.org/listinfo/python-es
FAQ: http://listas.aditel.org/faqpyes
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.