Hello everyone, I'm working on creating a tool that will allow me to select multiple tables from an Access Database and convert them to standalone tables in a Geodatabase:

I created a .odc database connection to the Access database the tables are being stored in hopes to make it easier to select the tables. Here is the script that I have so far:
import arcpy
import os
#Allow code to overwrite existing datasets
arcpy.env.overwriteOutput = True
#Set the variables
workspace = r"C:\UpdateDevelopmentPython\ForDeveloping\isrb_business.odc"
tables = arcpy.GetParameterAsText(0).split(";")
outpath = r"C:\UpdateDevelopmentPython\ForDeveloping\ForDeveloping.gdb"
outfile = os.path.join(workspace, "{}" .format(os.path.join(workspace) + str(["baseName"])))
#Create the standalone tables
TblResponseID = arcpy.TableToTable_conversion(tables,outpath,outfile) However whenever I run the the tool I keep getting this message.
import arcpy
import os
#Allow code to overwrite existing datasets
arcpy.env.overwriteOutput = True
#Set the variables
workspace = r"C:\UpdateDevelopmentPython\ForDeveloping\isrb_business.odc"
tables = arcpy.GetParameterAsText(0).split(";")
outpath = r"C:\UpdateDevelopmentPython\ForDeveloping\ForDeveloping.gdb"
outfile = os.path.join(workspace, "{}" .format(os.path.join(workspace) + str(["baseName"])))
#Create the standalone tables
TblResponseID = arcpy.TableToTable_conversion(tables,outpath,outfile)
I want the new standalone tables to keep the same name as the original Access tables, is there a way to do this? Thanks for the help!