FIPS = "C:\\Users\\D2148\\Documents\\Maps\\FIPS" # I changed the destination for a shorter path name
c = 0
FIPSlist = ['001', '003', '005', '007', '009', '011', '013',
'015', '017', '019', '021', '023', '025', '027',
'029', '031', '033', '035', '037', '039', '041',
'043', '045', '047', '049', '051', '053', '055',
'057', '059', '061', '063', '065', '067', '069',
'071', '073', '075', '077', '079', '081', '083',
'085', '087', '089', '091', '093', '095', '097',
'099', '101', '103', '105', '107', '109', '111',
'113', '115', '117', '119', '121', '123', '125',
'127']
while c < len(FIPSlist):
arcpy.TableToTable_conversion("Master_TAHI",FIPS,"FIPS" + FIPSlist + ".dbf","FIPS_PARIS" = "'" + FIPSlist + "'") #I'm thinking this is the problem with to many ", but I need it to automate choosing the next number. I also think that it is a string and the program won't take it.
c = c + 1
This is what I came up with because the number part would not be correct because it needs the 001,003, 005 and so forth.
This code comes up with
Runtime error <type 'exceptions.SyntaxError'>: keyword can't be an expression (<string>, line 14)