About 50 results
Open links in new tab
  1. Unable to delete folder with shutil.rmtree () with ArcPy?

    Jan 11, 2016 · Unable to delete folder with shutil.rmtree () with ArcPy? Ask Question Asked 10 years, 3 months ago Modified 10 years, 3 months ago

  2. "shutil.rmtree" doesn't get rid of my intermediate folders

    I have a script that works fine, but now I'd like to remove all the intermediate folders I created therein in order to save memory and to be clean. I've been trying using the "shutil.rmtree ()...

  3. arcgis online - How can I use python to zip a file geodatabase and add ...

    Jun 12, 2024 · However, it appears that when I use shutil.make_archive to create the compressed fgdb file, something is going wrong. Here is the code snippet that creates the fgdb, and then archives it -

  4. python - shuntil.rmtree () deleting directory gdb instead of files ...

    I want to use the shutil.rmtree() to remove files from a scrap geodatabase. Before adding it to a stand alone script I tried it out in an interactive session and got two different results. The firs...

  5. Using shutil.copyfile () to copy shapefiles from one folder to another ...

    Dec 21, 2020 · I am trying to copy shapefiles from one folder to another using a list of shapefile names saved in a txt file (shapefile name: BH_0231). I have the script below that works for copying one file …

  6. qfieldsync - Python Error during QField Packaging - Geographic ...

    Feb 6, 2022 · Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.

  7. qgis - WindowsError: [Error 32] The process cannot access the file ...

    I am reading images (through Python) and do something. These images are placed in a temporary file, through: tf = tempfile.mkdtemp(filename) I use gdal to read the images (short part of code): ...

  8. Moving shapefile using Python shutil? - Geographic Information …

    Dec 26, 2015 · Moving shapefile using Python shutil? Ask Question Asked 10 years, 3 months ago Modified 10 years, 3 months ago

  9. python - Is it possible to build a .vrt file from multiple files with ...

    Apr 1, 2021 · I would like to build a vrt file from multiple dataset. I know the gdalbuildvrt but i don't find how I'm supposed to do the same using rasterio vrt object. Does anyone have a simple example ?

  10. Copy\ Paste folders and subfolders with python [duplicate]

    May 4, 2015 · The answers in link you gave (Copy file geodatabase using Python?) shows 2 ways to do it right: Use shutil.copytree instead of copying individual files. BUT BETTER : use …