Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turning in miniproject 3. #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Turning in miniproject 3. #11

wants to merge 1 commit into from

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.

None yet

3 participants