I strongly need to use python2 instead of python3. Is there any possibilities to convert this code into python2 code?