Skip to content

Conversation

@cgoliver
Copy link

Added small changes to allow the code to work under python 3.

Namely:

  • Using range() instead of xrange()
  • Using dict.items() instead of dict.iteritems()
  • Converting dictionary key generators to lists before pickling.

I have only tested this on the sample/default usage command:

python src/main.py --input graph/karate-mirrored.edgelist --output emb/karate-mirrored.emb

Can't guarantee that it is python 3 compatible with all usage modes yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant