Here you go...
xxxxxxxxxx
import psycopg2
from psycopg2.extras import NamedTupleCursor
connection = psycopg2.connect(user = "test",
password = "test",
host = "127.0.0.1",
port = "5432",
database = "test",
cursor_factory=NamedTupleCursor)
cursor = connection.cursor()
postgreSQL_select_Query = 'SELECT "CountryDescription" FROM "Countries"'
cursor.execute(postgreSQL_select_Query)
Countries = cursor.fetchall()
for Country in Countries:
print("Country = ", Country.CountryDescription, "\n")
NamedTupleCursor is available only in Python 3...