feed
top
crea forum
cerca
feed
forum
supporto
discussione
cerca
De Bello Mundi Forum
Cerca
Modding
Accedi
PROGRAMMARE CON PYTHON
Messaggi
OFF
LINE
rhaymo
Post: 8.178
Post: 4.342
Registrato il: 30/06/2008
Città: NAPOLI
Età: 40
Sesso: Maschile
Pontifex maximus
Consul
Team Leader
Imperator
0
0
23/01/2010
13:02
la doc lo diceva pure:
Python on Windows makes a distinction between text and binary files; the end-of-line characters in text files are automatically altered slightly when data is read or written. This behind-the-scenes modification to file data is fine for ASCII text files, but it’ll corrupt binary data like that in JPEG or EXE files. Be very careful to use binary mode when reading and writing such files.
"Ci vuole la carne nelle salsicce, il fumo se ne esce!" (proverbio)
"Il potere é quando abbiamo ogni giustificazione per uccidere e non lo facciamo " (Schindler's list)
Peninsula Italica Fan
Visualizza l'intera discussione
Registrati
Accedi
Modding
Accedi
IL MIO PROFILO
LE MIE DISCUSSIONI
FORUM CHE SEGUI
LA MIA FORUM-CARD
MODIFICA FORUM-CARD
FAQ
TRADUCI
LOGOUT
Accedi
Registrati
FAQ
TRADUCI
Scatta o carica foto
Allega file
Inserisci link da url (card)
Incorpora url (YouTube/Twitter/...)
ACCETTA
RIFIUTA
Anteprima