duff2013 / ulptool

Program the esp32 ULP coprocessor in Arduino
272 stars 65 forks source link

make compatible with Python 3 #67

Closed mhier closed 3 years ago

mhier commented 3 years ago

This is a very minor change which allows to run on Python 3, while the script should still be compatible with Python 2.

On my Ubuntu 20.10 system I was unable to get it running with Python 2, since Python 2 support has basically been dropped and certain libraries are simply no longer available.

duff2013 commented 3 years ago

With this change does python 2.7 still work? I'm planning on updating to use python 3+ only in the future but until then it must work with python 2.7.

mhier commented 3 years ago

Yes it will.