When exporting files from ArcPy anything that is created gets instantly imported in ArcMap so it can be used in following processes.
This is because ArcPy needs the files that uses imported to ArcGIS in order to find them.
How to import files to ArcGIS from a folder so I can use them in ArcPy without manually importing them?
For example a folder called files1
#set environment
arcpy.env.workspace = r"C:\Users\user\Desktop\axc\files1"
for i in arcpy.ListFeatureClasses():
print(i)
This is for printing. How can I import them to ArcGIS?
my_fc = arcpy.Intersect_analysis(["My layer", "Another layer"], output_FC), after a arcpy tool run, this can be used as input for another tool, sayanother_fc = arcpy.Union_analysis(my_fc, "union_output")? – fatih_dur Aug 31 '18 at 14:38