wikitools
wikitools copied to clipboard
Python 3 support
Python 3 support would be really nice...
Yeah. You did a great job here. But Python 3 Support would be really nice <3
Has anyone done an evaluation of what's needed? That would probably be a good first step. :-)
When I tried to run it with only Python 3.3, incredible numbers of Python 2.x-style print
statements came up as errors; that would be a good place to start.
I tried to run it in my Python 3.4 virtualenv, with the following result:
Python 3.4.0 (default, Apr 11 2014, 13:05:11)
[GCC 4.8.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import wikitools
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/fhocutt/MediaWiki-OPW/wikitools-python3/lib/python3.4/site-packages/wikitools/__init__.py", line 19, in <module>
from wiki import *
ImportError: No module named 'wiki'
I tried to translate it with 2to3 (https://docs.python.org/2/library/2to3.html) - I gave up :)
Work started at https://github.com/alexz-enwp/wikitools/tree/py3
still not supported after 3 years!!