I'm trying to create a folder and export the following shape files to the new folder. I got it to create the folder but I can't seem to get the shapefiles to the new folder.
import arcpy
import datetime
from arcpy import env
env.workspace = "C:/UPDM.gdb"
out_folder_path = "C:/output"
nowstart = datetime.datetime.now()
YearMonthDay = nowstart.strftime("%Y_%m_%d")
out_name = "WebTMS_BU_" + YearMonthDay + ""
arcpy.CreateFolder_management(out_folder_path, out_name)
arcpy.FeatureClassToShapefile_conversion(["P_Leaks"],
out_name)