aditya-grover / node2vec

http://snap.stanford.edu/node2vec/
MIT License
2.61k stars 912 forks source link

python3 compatibility and PEP8 conformity #24

Open wehlutyk opened 6 years ago

wehlutyk commented 6 years ago

Hi! We just started using node2vec in one of our projects, and needed python 3 compatibility, which is what this PR brings. It's mixed with style changes to conform to PEP8 (which I could remove if you prefer). The Py3 changes are very minor (admittedly lost in the bigger PEP8 conformity changes), but might be useful. Thanks for the great software.