bikash.sherc...@gmail.com wrote:
> I am very beginner and would like to customize ArcGIS using python
> scripting for my thesis. I have to iterate Extract by Mask tool to
> extract several raster layer using watershed boundary (vector) and
> tried to with the attacthed code. But I am unable to get the result
> and got the following error:
>  
>
> Running script multiExtract...
>
> Error in script multiExtract.
>
> Error in executing: cmd.exe /C C:\EROSIO~1\MULTIE~1.PY "'C:\HfT
> Thesis_Bikash\thesis data\A2008257NDVI.tif';'C:\HfT
> Thesis_Bikash\thesis data\A2008273NDVI.tif'" "C:\HfT
> Thesis_Bikash\thesis data\exactbound_gcs.shp" "#"
>
> Failed to execute (multiExtract_4).
>
> End Time: Mon Jan 05 14:23:36 2009 (Elapsed Time: 1.00 seconds)
>
> I will pleased to hear any sugestion. Thanks

Do you actually have Python installed?  My guess from this is that the
.py extension has not been registered.  You can check this from a
command line:

C:\tmp>assoc .py
.py=Python.File

C:\tmp>ftype python.file
python.file="C:\Apps\Python24\python.exe" "%1" %*

C:\tmp>

If those are missing, and you know that the Python interpreter exists on
your disk, you can set it up yourself using commands like this,
substituting your own path, of course:

    assoc .py=Python.File
    ftype Python.File="C:\Python24\python.exe" "%1" %*
    assoc .pyw=Python.NoConFile
    ftype Python.NoConFile="C:\Python24\pythonw.exe" "%1" %*

-- 
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to