I don't mean to sound harsh, but this is 2018. If 2/3 compatibility is giving you trouble, you are using wrong packages to begin with.
Have you considered using an ORM to access the database? It may be total overkill for simple CRUD, but is worth learning nevertheless. There are many options, eg. SQLAlchemy is pretty cool and powerful, PonyORM is arguably somewhat simpler.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I don't mean to sound harsh, but this is 2018. If 2/3 compatibility is giving you trouble, you are using wrong packages to begin with.
Have you considered using an ORM to access the database? It may be total overkill for simple CRUD, but is worth learning nevertheless. There are many options, eg. SQLAlchemy is pretty cool and powerful, PonyORM is arguably somewhat simpler.