What is os.sep and when should i use os.sep while scripting for arcgis ?
For example in below code i don't understand why should i use os.sep .
import arcpy
from arcpy import env
import os
# Set the workspace for the ListFeatureClass function
#
env.workspace = "c:/base"
# Use the ListFeatureClasses function to return a list of
# all shapefiles.
#
fcList = arcpy.ListFeatureClasses()
# Copy shapefiles to a file geodatabase
#
for fc in fcList:
arcpy.Copy_management(fc, "d:/base/output.gdb" + os.sep + fc.rstrip(".shp"))