shutil.copyfile problem for GIS data

supercooper supercooper at gmail.com
Mon Jul 23 21:57:44 CEST 2007


import shutil
import os

src = "c:\mydata\test\mygeo.mdb"
dst = "v:\updated\data\mygeo.mdb"

shutil.copyfile(src,dst)

This should totally work, do it all the time, but no one can be
connected to the database, ie have ArcMap or ArcCatalog open at the
time of copy, or the .ldb lock will kill it. I do all of my copies in
the early AM.





More information about the Python-list mailing list