I am familiar with setting the env.workspace parameter in arcpy. That allows me to work within subfolders of the workspace, eg:
But how do I do the opposite, ie go up one level in the folder tree?
This doesn't work:
Is there an easy way to go up a level from the workspace path? Or is it not possible?
Thanks
Code:
layer = arcpy.mapping.Layer("Sub\Test.shp")
This doesn't work:
Code:
layer = arcpy.mapping.Layer("..\Test.shp")
Thanks