Reply to post: updating python 2.7 code

For real this time, get your butt off Python 2: No updates, no nothing after 1 January 2020

Henry Wertz 1 Gold badge

updating python 2.7 code

Updating python 2.7 code to python 3 is not difficult. A couple functions were renamed (and you can load a compatibility header to take care of them rather than updating them), and a few syntactical details changed. So you don't have to really rewrite code so much as replace a handful of lines with ones with identical functionality but slightly different syntax.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon


Biting the hand that feeds IT © 1998–2021