I want to get the column names of a table, but there a over million data in it. So I cannot use:
cursor.execute(\"SELECT * FROM table_name\") print cursor.de
cursor.execute("SELECT * FROM table_name LIMIT 0") cursor.column_names
Use the following to find other information
[v for v in dir(cursor) if v.find("_")]