LUI
LUI copied to clipboard
python2 -> python3 converter script
Hello Tobias, I just want to share my python version conversion script, based on the "2to3" tool and a few "sed" commands, it may be useful to others too. I've tested all the "B_" files in the Demos folder (that I renamed to Demos3), they all seem working. Still some tests to do though. Best Regards
Hi, cool! Is this still compatible with python 2 ?
I don't think so, the code generated by 2to3 is python3 only, but it doesn't make that many changes, so I think it will be feasible in some more or less near future to make a manual version compatible with both.