Within Files, you have a home and a samplesdata folder. Is it possible to create additional folders?
Solved! Go to Solution.
To make a single directory:
import os
if not os.path.exists("/arcgis/home/newdir"😞
os.mkdir("/arcgis/home/newdir")
To make a subdirectories when none of them exist:
import os
os.makedirs("/arcgis/home/non-existent-dir1/non-existent-dir2/")
Yes - you can use python code to create folders in this location.
To make a single directory:
import os
if not os.path.exists("/arcgis/home/newdir"😞
os.mkdir("/arcgis/home/newdir")
To make a subdirectories when none of them exist:
import os
os.makedirs("/arcgis/home/non-existent-dir1/non-existent-dir2/")
Thanks David - that's awesome.