In a toolbox of mine I want to add a function to add several shapefiles by assigning the datatype to shapefile and enabling the multi-value function.
I have noticed however that ArcMap parses this data as a long string deliminated by a ';' of which I have made into a list by the following.
def main(inputs,...)
shp_files = inputs.split(';')
However these are still strings in a list and therefore when I run a geoprocessing task the error I receive is that the shapefile has no table 'C'. C being my directory C:. What I need is either a more elegant approach to my current step or a way to add r' ' to surrond each of my list strings.
I assume there must be a way to append each string in a list and add the r '' to indicate that is a pathname.