title: TypeError: Error while fetching data from PostgresSQL not all arguments converted during string formatting
body: <blockquote>
  <p>TypeError: Error while fetching data from PostgresSQL not all
  arguments converted during string formatting.</p>
  </blockquote>
  <p>Please help me</p>
  <pre><code>Main_List = [[1,12345,10.100.30.27,2020-10-09 09:45:31,12,0,0,9]]
  records_to_insert= [tuple(x) for x in Main_list]
  
  sql_insert_query = &quot;&quot;&quot; INSERT INTO dailypunch (ip_address, emp_code, datetime,number) 
                         VALUES (%s,%s,%s,%s) &quot;&quot;&quot;
  
      
  result = cursor.executemany(sql_insert_query, records_to_insert)
  </code></pre>