doepy icon indicating copy to clipboard operation
doepy copied to clipboard

Make doepy compatible with python<3.7

Open Sigmun opened this issue 3 years ago • 2 comments

add file encoding in headers and use "".format() instead of f"" strings

Sigmun avatar Dec 14 '21 16:12 Sigmun

Could you wrap this in a conditional to check for python version rather than replacing a newer more pythonic version completely?

JoshuaAdrianJones avatar Dec 29 '21 23:12 JoshuaAdrianJones

You'd rather have 2 lines for the same function just to deal with retro-compatibility than using the same function in every cases? I think you'll increase code maintenance load.

Sigmun avatar Jan 10 '22 07:01 Sigmun