you could also use (faster as it doesn't spawn a process):
import shutil
shutil.move("prova.db", "prova_old.db")