Created
December 28, 2019 06:46
-
-
Save prateekjoshi565/5783d0692b6665dc90c0dcc653177e59 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# load nodes details | |
with open("fb-pages-food.nodes") as f: | |
fb_nodes = f.read().splitlines() | |
# load edges (or links) | |
with open("fb-pages-food.edges") as f: | |
fb_links = f.read().splitlines() | |
len(fb_nodes), len(fb_links) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hie. can you please assist me. the code is giving me the error below after running it.
FileNotFoundError: [Errno 2] No such file or directory: 'fb-pages-food.nodes'