We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python WikiExtractor.py File "WikiExtractor.py", line 877 afterPat = { o:re.compile(openPat+'|'+c, re.DOTALL) for o,c in izip(openDelim, closeDelim)} ^ SyntaxError: invalid syntax
Any idea what I am doing wrong here? I am using python 2.6.1
The text was updated successfully, but these errors were encountered:
can you post the surrounding lines from the code?
Sorry, something went wrong.
Turns out I needed python 2.7. Something to do with needing a dictionary comprehension.
No branches or pull requests
python WikiExtractor.py
File "WikiExtractor.py", line 877
afterPat = { o:re.compile(openPat+'|'+c, re.DOTALL) for o,c in izip(openDelim, closeDelim)}
^
SyntaxError: invalid syntax
Any idea what I am doing wrong here? I am using python 2.6.1
The text was updated successfully, but these errors were encountered: