News for hackers. Stuff that matters.
Re:Lesser known parts of Python standard library – Trickster... by ttyprintk on Friday September 06, 2024 @07:10AM (#41465015)
For that, you might as well conn.row_factory = sqlite3.Row
Re:Lesser known parts of Python standard library – Trickster... by kstrauser on Friday September 06, 2024 @08:58AM (#41465754)
That would be a better option, as long as the goal isn’t to demonstrate how namedtuples or dataclasses work.