Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For that, you might as well conn.row_factory = sqlite3.Row


That would be a better option, as long as the goal isn’t to demonstrate how namedtuples or dataclasses work.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: