Python:如何格式化 PYODBC 查询输出

Python: How to format PYODBC Query Output

我正在使用 PYODBC 从数据库中查询,如下所示:

cursor.execute("SELECT Distinct country from dbo.purchases")

for row in cursor.fetchall():
    print row

脚本的结果是这样的:

('Taiwan', )
('Japan', )

如何将 pyodbc 输出查询格式化为:

Taiwan
Japan

结果是一个元组,所以print row[0]