I want to populate a PostgreSQL table with python. I can only see 'psycopg2' where string queries are executed. Is there any way to do it without converting the queries to a string? For Example - I have a class called Country and it has attributes like population, Area, The capital. Now I want to populate the country table with each instance of country. I want to do it without using any framework. Any kind of assistance will be appreciated. Thank you.