AnsweredAssumed Answered

Fail to read map document with spaces in name

Question asked by jsn on Jun 12, 2018
Latest reply on Jun 13, 2018 by Dan_Patterson

Hello everyone,

 

When opening a mxd with the command below it fails when the name has blank spaces.  How can I fix that ?

 

mxdfile = os.path.join(path, file)

print(mxdfile + " is being processed")

mxd = arcpy.mapping.MapDocument(mxdfile)

Outcomes