I can easily add shapefiles to the Table of Contents in ArcMap using the following code:
mxd = arcpy.mapping.MapDocument("current")
df = arcpy.mapping.ListDataFrames(mxd, "Layers")[0]
path = os.path.abspath("shapefile_path")
addLayer = arcpy.mapping.Layer(path)
arcpy.mapping.AddLayer(df, addLayer)
arcpy.RefreshActiveView()
arcpy.RefreshTOC()
del mxd, addLayer
but I am confused how to add raster data (which usually consists of several files).