AnsweredAssumed Answered

FileNameInsert.py

Question asked by BTLeslie on Jul 23, 2014
Latest reply on Jul 23, 2014 by BTLeslie

I downloaded this arcscript from here:   Filename Insert

 

It's an old script from 2006 and when I run it I get the following error:

 

File "C:\FileNameInsert.py", line 15, in <module>

  import win32com.client, sys, string, os

ImportError: No module named win32com.client

 

How do I modify this script so it works in 2014?

 

(what I hoping to achieve is to add a filename attribute to my shapefiles so that when I merge them together I can trace back to the originals)

Outcomes