Energy-Languages icon indicating copy to clipboard operation
Energy-Languages copied to clipboard

Converted all Python 2 scripts to Python 3

Open timmattison opened this issue 3 years ago • 0 comments

I was unable to compile a few different languages with the compile_all.py scripts. I noticed that some were using the Python 2 style print statements so I converted them all to Python 3 with the 2to3 tool.

I ran:

find . -name "compile_all.py" -exec 2to3 -w {} \;

And then I discarded the following updated scripts that were already converted:

  • FSharp/compile_all.py
  • Java/compile_all.py
  • Java-GraalVM/compile_all.py
  • compile_all.py

timmattison avatar Apr 20 '22 16:04 timmattison