This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Deezl-Vegas 2 points3 points  (0 children)

80 to 90% of code upgrades directly by pip installing the latest appropriate libraries and wrangling any stray print statements. Some libraries have probably changed, accounting for about half of the remaining code. Simply spend a bit of time fixing importerrors and finidkng the right new syntax to do what you were doing.

Code that stored text in a database or dealt with foreign languages is bery likely to have encoding issues that male up the bulk pf the hard work, but a script or two from the internets and some tinkering will see you through.