I'm interested in running this code from github – how do I know if it was written for python2 or python3?
I'm hoping this is a really basic question and there is just some part of the site which makes this obvious.
You could download the source and run the 2to3 script to see if it proposes changes to upgrade it to python3:
https://docs.python.org/3/library/2to3.html
If there are no changes, then it is Python3 (and maybe also Python2) code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With