Te la butto lì:

#!/usr/bin/python
f = file("/path/to/file")
f2 = file("/path/to/file2","w")
tmp = f.read()
f2.write(tmp)
f.close()
f2.close()
-- 
Luca Marturana (Luca89) <[EMAIL PROTECTED]>

Website: http://luca89.wordpress.com
Jabber: <[EMAIL PROTECTED]>
MSN: <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: Questa parte del messaggio è firmata

_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python

Rispondere a