About 96,100 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 9 years, 10 months ago Modified 9 years, 10 months ago

  2. 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.

  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. Moving shapefile using Python shutil? - Geographic Information …

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

  5. python - Geographic Information Systems Stack Exchange

    Aug 20, 2020 · It means that the program doesn't have permission to read or write restart/snapshot_Quad9_p0000_i00001124.xmf. You need to make sure it has those permissions …

  6. Using folder wildcards to copy files with Python

    Apr 1, 2015 · for f in gridShpFiles: shutil.copy(f, path) Take your time to set paths (lines 2, 3, and 4), I tested the script on GNU/Linux, but Windows paths are always trickier. As you notice, you can avoid …

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

    shutil.rmtree(clearfile) I don't want the gdb deleted, just the files within as each time I run the script the last bit of code builds a new featureclass from merging other featureclasses in the scrap …

  8. Deleting folder and processed files in QGIS using PyQGIS

    Jun 11, 2022 · It seems to me a problem of timing, whereby the line: shutil.rmtree(f'{path_output}') is being called before the layer has been completely released. I tried a few approaches to solve the …

  9. Deleting ArcGIS Project created using ArcGIS Pro?

    May 15, 2015 · 1 If you need to do this in code, use shutil.rmtree. File management is the file manager/standard library's job.

  10. 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 ?