DEV Community

Discussion on: Python 2 VS Python 3

Collapse
 
ikemkrueger profile image
Ikem Krueger • Edited

Where I struggle often is, to make the code compatible with both versions. And where I struggle the most is strings and utf8 issues.

Collapse
 
kostassar profile image
Kostas Sar

Why would you want to make your code compatible with both versions? Why not choose one of them?

Also why not make 2 different versions, one in Py2 and one in Py3?