TypeError: unsupported operand type(s) for +: 'int' and 'str' [closed] sql="insert into auto_transfer_data(atd_type,atd_mogodb_count,atd_mysql_before_count,atd_create_date)values('"+at_type+"','"+str(mongodbcount)+"','"+str(m…
TypeError: unsupported operand type(s) for +: 'geoprocessing value object' and 'str' if self.params[0].value: mypath=self.params[0].value # cpath=mypath+os.sep+dataset arcpy.env.workspace =cpath 修改如下: if self.params[0].value: mypath=str(self.params[0…