Skip to content

Conversation

hrrs
Copy link

@hrrs hrrs commented Oct 12, 2017

No description provided.

Copy link

@branchwelder branchwelder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Interesting approach to the project.

if check+5 >= len(text):
raise ValueError("No appropriate start in string.")
elif text[check+3:check+5]=="<a" or text[check+3:check+5]=="<s":
return find_start(text,check+3)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gotta use dat recursion 👍

'''
next_start = 0
if page in links:
#print('"'+page+'" was in links')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove commented code when submitting

@osteele
Copy link
Contributor

osteele commented Oct 16, 2017

I recommend https://pypi.python.org/pypi/pygraphviz for graphing. It is very specific to graphing; there are other packages that are better for every other kind of drawing, but nothing so good at (non-interactive) network graphs.

This is just a wrapper around http://graphviz.org. You can also write code that create GraphViz (*.dot) files.

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.

3 participants