Open dvska opened 8 years ago
you might try replacing urllib2.Request
with urllib.request.Request
and be 👍
pip install 2to3
2to3 -w file_to_convert.py
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!
Nevermind, I just saw that this was addressed and just hasn't been closed yet. Carry on!
Please, use six library