Closed subpath closed 2 years ago
Hey! I'm I noticed that the eval/python/word_analogies.py used raw_input to read from stdin. In python 3+ raw_input was replaced with just input (See PEP 3111 and What’s New In Python 3.0) So I made it compatible with python3 and python2.
eval/python/word_analogies.py
raw_input
input
Cheers : )
Hey! I'm I noticed that the
eval/python/word_analogies.py
usedraw_input
to read from stdin. In python 3+raw_input
was replaced with justinput
(See PEP 3111 and What’s New In Python 3.0) So I made it compatible with python3 and python2.Cheers : )