os sta per Operating System
Si appoggia quindi alle sue funzioni: è windows a decidere cosa fare dei file.
os sta per Operating System
Si appoggia quindi alle sue funzioni: è windows a decidere cosa fare dei file.
"Se proprio devono piratare, almeno piratino il nostro." (Bill Gates)
"Non è possibile che 2 istituzioni statali mi mettano esami nello stesso giorno." (XWolverineX)
http://xvincentx.netsons.org/programBlog
os.remove() a quanto mi risulta non sposta il file nel cestino, lo cancella direttamente. Indipendentemente dall'os.Originariamente inviato da GidanTKA
Salve, vorrei sapere se qualcuno sa come si fa a cancellare definitivamente un file con python
in questo modo:
import os
os.remove('C:\Documents and Settings\ecc.txt')
cancella il file, ma va a finire ne cestino, io invecde vorrei sapere come fare per cancellarlo definitivamente, qualcuno sa dirmelo?
Grazie in anticipo
Saluti GidanTKA
Rilasciata Python FTP Server library 0.5.1
http://code.google.com/p/pyftpdlib/
We'll be those who'll make the italian folks know how difficult can be defecating in Southern California without having the crap flying all around the house.
os.rmdir().
Qui hai la documentazione di tutte le operazioni analoghe:
http://docs.python.org/lib/module-os.html
Rilasciata Python FTP Server library 0.5.1
http://code.google.com/p/pyftpdlib/
We'll be those who'll make the italian folks know how difficult can be defecating in Southern California without having the crap flying all around the house.
http://docs.python.it/html/lib/
Risale a Python 2.3.
Rilasciata Python FTP Server library 0.5.1
http://code.google.com/p/pyftpdlib/
We'll be those who'll make the italian folks know how difficult can be defecating in Southern California without having the crap flying all around the house.