jotform / jotform-api-python

JotForm API - Python Client
GNU General Public License v2.0
39 stars 48 forks source link

Python 3.x compatibility #6

Open dvska opened 7 years ago

dvska commented 7 years ago

Please, use six library

kltdwrds commented 5 years ago

you might try replacing urllib2.Request with urllib.request.Request and be 👍

khrizo commented 3 years ago
pip install 2to3
2to3 -w file_to_convert.py
mathewrosssmith commented 2 years ago

Just for the record, I had this problem at a previous job and ended up forking the repo to make a Python 3 version. If someone wants to look at it to merge compatibility here, I don't know if/when I'll have time to try to add all those if/else sections but the repo is jotform-api-python3. Hope this helps someone!

mathewrosssmith commented 2 years ago

Nevermind, I just saw that this was addressed and just hasn't been closed yet. Carry on!